[postgis-devel] st_isvalid() does not return warning message

Maxime van Noppen maxime at altribe.org
Sat Sep 12 06:52:03 PDT 2009


On 09/12/09 15:43, Blake Crosby wrote:
> Any way I can figure out why this geometry isn't valid? Postgis version
> 1.3:

This isn't goint to help much but in Postigs 1.4 there is a
ST_IsValidReason function that does this.

http://postgis.refractions.net/documentation/manual-1.4/ST_IsValidReason.html

If it is possible for you to update this might be a solution.

I've got a 1.4 version so here's the result for you polygon :

         st_isvalidreason
-----------------------------------
 Self-intersection [-108.617 54.2]

-- 
Maxime



More information about the postgis-devel mailing list