[postgis-devel] st_isvalid() does not return warning message
Blake Crosby
me at blakecrosby.com
Sat Sep 12 08:32:30 PDT 2009
Maxime,
Thanks, perhaps I will upgrade!
So it looks like there is an issue with significant digits, in my view:
(-108.616666666667 54.2) != (-108.616666666664 54.1999999999825)
Cause it looks like its rounding up. and treating these two points as one.
Blake
Maxime van Noppen wrote:
> 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]
>
More information about the postgis-devel
mailing list