[postgis-devel] LWgeom and PostGIS Java classes
strk at refractions.net
strk at refractions.net
Wed Dec 15 09:33:03 PST 2004
On Wed, Dec 15, 2004 at 05:50:18PM +0100, Markus Schaber wrote:
(...)
> Would it be possible to add the SRID to geometry_send? How much third
> party applications are there that already depend on the internal
> representation? (I guess none.)
>
> A way I could imagine would be to add the 4 byte ASCII text "SRID" plus
> 4 bytes int containing the actual SRID after the WKB. As the WKB
> contains counters for all arrays in it, a non-srid aware parser will
> simply ignore those extra bytes.
Yes it is possible.
SRID presence could be encoded as a bit in the 4bytes 'type',
as it is already done internally.
I'll make some research on this.
--strk;
More information about the postgis-devel
mailing list