[postgis-tickets] [PostGIS] #2179: ST_MakeValid support for NaN values.

PostGIS trac at osgeo.org
Fri Apr 19 06:07:18 PDT 2013


#2179: ST_MakeValid support for NaN values.
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 I prefer the current behavior.  The thing is that Nans causes all sorts of
 problems when passed to other functions and all your other options
 silently ignore the problem or assume too much passing the buck to some
 other sap function.

 However I always thought ST_MakeValid should take options (similar to GML
 funcs) as to what it should do anyway -- not just for this but in general.
 For example I don't use it a lot because when trying to make something
 valid like a polygon it turns it into a linestring or some other thing
 like a geometry collection which does me no good.  It would be nice to say
 only do something if you are going to give me back the same geometry type
 as I input otherwise do nothing.

 Part of the flag would be behavior: throw error, show notice, ignore

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2179#comment:4>
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-tickets mailing list