[postgis-devel] LWgeom and PostGIS Java classes

Markus Schaber schabios at logi-track.com
Fri Dec 17 01:28:21 PST 2004


Hi, strk,

On Fri, 17 Dec 2004 08:45:06 +0100
strk at refractions.net wrote:

> > The canonical forms should be "lossless", as close to the internal rep
> > as feasible (for efficiency reasons), provide all PostGIS features and
> > extensions, and are subject to change between PostGIS releases.
> 
> If we don't want to loose "features" we'll have to provide a function
> returning the "lossless" canonical binary form in a specific byte order.

I think it is sufficient to include information about the used byte
order.

This way, only the reader has to convert if necessary. This avoids
situations where both ends have to convert the byte order. And most developers will transport data only bet

> This is for both byte order control and PG<74 support, where there were
> no _send and _recv functions.

I thought pg<74 (the V2 query protocol) does not support canonical
binary forms at all. But I may be wrong. If I'm right, a question is
whether it is worth to provide a workaround for this, or simply stick to
the text canonical form on those platforms.

Thanks,
Markus
-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com



More information about the postgis-devel mailing list