[postgis-devel] Precision Reduction?

Simon Greener simon at spatialdbadvisor.com
Wed Nov 11 02:13:13 PST 2020


> I think we should add a precision field to the Geometry type so that once precision is set on a geometry it sticks 

+1


⁣Get BlueMail for Android ​

On 11 Nov 2020, 21:07, at 21:07, Sandro Santilli <strk at kbt.io> wrote:
>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;
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20201111/be563511/attachment-0001.html>


More information about the postgis-devel mailing list