NAME

DBIO::PostgreSQL::PostGIS::Codec::WKT::Parser - WKT/EWKT parser for PostGIS geometry values

VERSION

version 0.900000

METHODS

parse

my $result = DBIO::PostgreSQL::PostGIS::Codec::WKT::Parser->parse($wkt);

Parses a WKT string and returns a hashref:

{
  type     => 'point',
  coords   => [...],
  has_z    => 0,
  has_m    => 0,
  is_empty => 0,
}

Returns undef for unsupported types.

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.