[postgis-users] GEOS intersects() threw an error!

Mike Toews mwtoews at gmail.com
Wed Mar 17 08:51:31 PDT 2010


Typically, this type of geometry error is fixed using
ST_Buffer(the_geom,0). So just wrap your geometry in that zero buffer,
and you should get a valid geometry (in ST_IsValid) and a correct
ST_Intersects result.

-Mike

On 17 March 2010 08:23, Jerry Carter <jerry at jerrycarter.org> wrote:
> I am aware that this geometry reports a Self-intersection according to ST_IsValidReason().



More information about the postgis-users mailing list