[geos-devel] Correct use of setPrecision

Sandro Santilli strk at kbt.io
Mon Sep 4 00:29:55 PDT 2017


On Mon, Sep 04, 2017 at 04:28:32PM +1000, Nyall Dawson wrote:

> However, after looking into this in more depth I think the original
> python code is incorrectly used. It's being used by QGIS in order to
> set a "tolerance" on a spatial join operation - i.e. to consider that
> two geometries which are 100m distant actually do intersect.

[...]

> If this is correct, is there any other way in GEOS to handle this situation?

How about using GEOSDistance ?

--strk;


More information about the geos-devel mailing list