NAME

DBIO::PostgreSQL::PostGIS::Storage - Storage class with PostGIS spatial extensions

VERSION

version 0.900000

DESCRIPTION

Extends DBIO::PostgreSQL::Storage with PostGIS-aware introspection, spatial data type recognition, and helper methods for common spatial operations.

METHODS

ensure_postgis

$storage->ensure_postgis;

Issues CREATE EXTENSION IF NOT EXISTS postgis against the connected database. Idempotent.

postgis_version

my $v = $storage->postgis_version;

Returns the PostGIS extension version string from PostGIS_Full_Version(), or undef if the extension is not installed.

dbio_deploy_class

Returns DBIO::PostgreSQL::PostGIS::Deploy to activate PostGIS-aware deploy when $schema->deploy is called on a PostGIS-enabled schema.

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.