DBIO-PostgreSQL-PostGIS
view release on metacpan or search on metacpan
docs/adr/0002-hand-rolled-wkb-wkt-codecs-ewkb-hex-ewkt-roundtrip.md view on Meta::CPAN
(`t/geometry-roundtrip.t`, `t/20-inflate.t`), hence **accepted**.
## Consequences
- No hard dependency on `Geo::OGR`/GDAL; spatial reads and writes of the common
geometry types work with pure Perl. Heavy operations require the user to have
`Geo::OGR` installed and to call `to_ogr` explicitly.
- The codecs are this distribution's responsibility to keep correct against the
OGC WKB/WKT specs; any change to the emitted/parsed bytes or text must keep the
offline codec tests honest.
- Both PostGIS wire forms are supported transparently â a query may or may not
wrap the column in `ST_AsEWKT` and inflation still produces the same Geometry.
- Writes always emit EWKT (never EWKB) in generated SQL; this is the intended,
test-pinned form, not a limitation.
( run in 1.316 second using v1.01-cache-2.11-cpan-7fcb06a456a )