[postgis-devel] RE: [postgis-users] Problem with PostGIS 1.0.0 RC1
Mark Cave-Ayland
m.cave-ayland at webbased.co.uk
Tue Jan 25 01:22:08 PST 2005
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On
> Behalf Of strk at refractions.net
> Sent: 25 January 2005 09:03
> To: Mark Cave-Ayland; postgis-devel at postgis.refractions.net;
> 'Markus Schaber'
> Cc: 'PostGIS Users Discussion'
> Subject: Re: [postgis-users] Problem with PostGIS 1.0.0 RC1
>
>
> I've made all OGC WKB constructors take bytea for consistency
> (in RC1 all but GeomFromWKB took a geometry, relying on
> implicit casts).
Great, I think that having the consistency can only be a good thing :)
> This means you can't feed them an hexWKB, but you should use
> canonical input for that. Example:
>
> SELECT
> GeomFromWKB('\\001\\001\\000\\000\\000\\000\\000\\000\\000\\00
> 0\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000');
>
> SELECT Geometry('010100000000000000000000000000000000000000');
Ooops, looks like our emails have crossed :) Thanks again!
Kind regards,
Mark.
------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT
T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk
More information about the postgis-devel
mailing list