Davide Ticozzi wrote:
Hi everyone,
I'm encured in a very strange issue.
This select give me an "geometry requires more points" error for a
specific geometry:
select st_linetocurve(the_geom) from covers where id_cover=2787;
but not this:
select st_linetocurve(geomfromtext(astext(the_geom))) from covers where
id_cover=2787;
Why?
Hi Davide,
Possibly its due to a rounding error introduced from the conversion from
binary to text and back to binary again? I haven't time to look at this
at the moment, however you can get some good debug information out of
PostGIS 1.4 if you wish to trace through it yourself.
HTH,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users