[geos-devel] Correct use of setPrecision

Mateusz Loskot mateusz at loskot.net
Wed Sep 6 11:51:26 PDT 2017


On 6 September 2017 at 18:12, Martin Davis <mtnclimb at gmail.com> wrote:
> That is correct - the precision model is not used in relate and spatial
> predicate evaluation.

Directly, not.
Indirectly, it might be, depending on how input geometries are created
(eg. via WKB I/O).
In such case, one may consider precision model does affect the predicates.

> (It's used in a few more places than the overlay
> functions, but that is its primary usage)

For the record, intersection calculation in GEOS does use precision model,
perhaps other places too.


Please, consider my comments above as complementary documentation,
and w/o any purpose of argument.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list