[geos-devel] Postgis 2 and TopologyExceptions
Martin Davis
mtnclimb at telus.net
Thu Aug 23 17:55:11 PDT 2012
That's a classic JTS/GEOS overlay robustness failure, unfortunately.
It's caused by the presence of almost-coincident lines.
The usual suggestion is to try reducing precision (snapping to a grid),
but it looks like maybe you've tried that? You could try reducing
precision even more, perhaps.
A more drastic approach would be to perturb every vertex by a small
random amount. But there's no guarantee this will help, and it may not
fit your use case.
On 8/23/2012 5:07 AM, Lars Aksel Opsahl wrote:
> Hi
>
> Chris Hodgson think that this maybe a problem in GEOS or maybe JTS, so I try this mailing list to see if anybody have any ideas.
>
> The problem is explained at
> http://postgis.refractions.net/pipermail/postgis-users/2012-August/035072.html
>
> Here you also find all the files you need to reproduce the problem,
>
> Regards Lars
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2196 / Virus Database: 2437/5219 - Release Date: 08/23/12
>
>
More information about the geos-devel
mailing list