[postgis-devel] [PostGIS] #627: PostGIS/PostgreSQL process terminates on invalid geometry

PostGIS trac at osgeo.org
Wed Jan 26 08:39:19 PST 2011


#627: PostGIS/PostgreSQL process terminates on invalid geometry
-------------------------+--------------------------------------------------
 Reporter:  hopfgartner  |       Owner:  pramsey      
     Type:  defect       |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 1.5.3
Component:  postgis      |     Version:  1.5.X        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by hopfgartner):

 Replying to [comment:3 pramsey]:
 > Well, rather than retrofit anything deeper in the geometry handling, I
 am tempted to intercept and kill these at the edge. What is the spatial
 meaning of POINT(nan nan) or even LINESTRING(nan 0, 1 1) ? I would tend to
 say we should either drop errors on them or convert them into an EMPTY or
 NULL on the way in. How did you generate this thing to start with?

 I can not reconstruct how these geometries were generated. I found them in
 an internally used database. They might result from some incorrect
 calculation.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/627#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list