[postgis-devel] Issue 86 in postgis: ST_LineToCurve produces invalid curves

codesite-noreply at google.com codesite-noreply at google.com
Wed Dec 17 03:26:00 PST 2008


Comment #1 on issue 86 by mark.cav... at siriusit.co.uk: ST_LineToCurve  
produces invalid curves
http://code.google.com/p/postgis/issues/detail?id=86

I think the key to this is that the generated CURVEPOLYGON is actually  
invalid. When
trying to parse the geometry using SVN trunk, I get a "parse error - invalid
geometry" message which points to a parse failure at character 104 which  
looks like this:

CIRCULARSTRING(2.47032822920623e-323  
5.32506451083601e-315,4.31693359794991e-308
-2.51624134379182e+307,nan ...

Hmmm. So it looks like the parser (possibly correctly) is choking on the  
NaN. My
guess would be the CIRCULARSTRING generation code should not output this  
value rather
than the parser being altered to accept it?


HTH,

Mark.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the postgis-devel mailing list