NAME
DBIO::PostgreSQL::PostGIS::Codec::WKB::Decoder - EWKB-hex decoder for PostGIS geometry values
VERSION
version 0.900000
METHODS
decode_hex
my $result = DBIO::PostgreSQL::PostGIS::Codec::WKB::Decoder->decode_hex($hex);
Decodes an EWKB hex string into a hashref:
{
type => 'point',
srid => 4326, # undef if not present
has_z => 0,
has_m => 0,
coords => [x, y], # nested for non-point 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.