[postgis-devel] Precision Reduction?

Regina Obe lr at pcorp.us
Tue Nov 10 20:23:19 PST 2020


+1

 

From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Martin Davis
Sent: Tuesday, November 10, 2020 8:15 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: Re: [postgis-devel] Precision Reduction?

 

+1 for exposing it.

 

ST_ReducePrecision ?

ST_SetPrecision ?

ST_Round ?

ST_RoundToGrid ?  (maybe...to indicate it is related to SnapToGrid.  But perhaps this will be more confusing than helpful)

 

On Tue, Nov 10, 2020 at 3:12 PM Paul Ramsey <pramsey at cleverelephant.ca <mailto:pramsey at cleverelephant.ca> > 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?

Under what name?

P
_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto: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/20201110/c01c2eea/attachment.html>


More information about the postgis-devel mailing list