[postgis-devel] RE: [postgis-users] Problem with PostGIS 1.0.0 RC1
m.cave-ayland at webbased.co.uk
Tue Jan 25 01:59:40 PST 2005
> -----Original Message-----
> From: strk at refractions.net [mailto:strk at refractions.net]
> Sent: 25 January 2005 09:46
> To: Mark Cave-Ayland
> Cc: postgis-devel at postgis.refractions.net; 'PostGIS Users
> Discussion'; 'Markus Schaber'
> Subject: Re: [postgis-devel] RE: [postgis-users] Problem with
> PostGIS 1.0.0 RC1
> > Great, I think that having the consistency can only be a
> good thing :)
> We also have all of GeomFromText() which is currently taking
> a 'geometry' instead of 'text'. This allows users to use
> non-standard OGC functions, and I think should be changed.
> Note that current behaviour makes this possible (as side-effects):
> SELECT GeomFromText('00..FF');
> SELECT GeomFromText('\\000\\001...'::bytea);
> .. which I think should be forbidden.
> What do you think ?
Good catch. I would say definitely make it forbidden; I can't see a rational
case for letting binary inputs into a *FromText() function at all(!).
Markus, do you agree?
South West Technology Centre
Tamar Science Park
T: +44 (0)1752 791021
F: +44 (0)1752 791023
More information about the postgis-users