[postgis-users] invalid polygons: error type in query results

Paul Ramsey pramsey at refractions.net
Wed May 2 18:03:07 PDT 2007


Until Mark gets back from vacation and can do this one, it is left as  
an Exercise to the Reader. The code is in GEOS, it just needs to be  
exposed.

P

On 2-May-07, at 5:01 PM, Ted Scharff wrote:

> Hello, list.
>
> I would like to review geometries in my database where the isvalid 
> () function returns false.
>
> It seems there are multiple types of invalid geometries (Nested  
> Shells, Self-Intersections, etc>) that are reported as Notice  
> messages.  Is there any way to get the output of those error  
> messages to appear as a column in my query results (or access the  
> error types in some other way as a PostGIS function)?  I would  
> really like to be able to sort those results by the type of invalid  
> geometry.
>
> Thanks!
>
> Ted.
>
> -- 
> Ted Scharff  ::  Urban Mapping, Inc ::  blog.urbanmapping.com
> 690 Fifth Street  Suite 200  ::  San Francisco CA  94107
> T 415-946-8179  ::  F 866-385-8266  :: Skype ted at urbanmapping
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list