[postgis-devel] Precision Reduction?
Sandro Santilli
strk at kbt.io
Wed Nov 11 02:06:44 PST 2020
On Tue, Nov 10, 2020 at 03:12:02PM -0800, Paul Ramsey wrote:
> One of the "new" GEOS 3.9 features is that
>
> GEOSGeom_setPrecision
>
> actually backs onto the OverlayNG precision reducer, so you can get valid precision reduced geometries out of it.
>
> Currently, nothing in PostGIS exposes this functionality (because prior to this the precision reducer in GEOS wasn't really any smarter than our own snap to grid).
>
> Should we be exposing this?
I think we should add a precision field to the Geometry type
so that once precision is set on a geometry it sticks and can
be passed around, in particular to GEOS functions for retaining
the precision in output (basically using fixed precision all
the way).
--strk;
More information about the postgis-devel
mailing list