[geos-devel] [GEOS] #713: [Patch] Add GeometryPrecisionReducer to C API

GEOS geos-trac at osgeo.org
Wed Sep 30 11:18:53 PDT 2015


#713: [Patch] Add GeometryPrecisionReducer to C API
------------------------+---------------------------
 Reporter:  smani       |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:  3.4.3
Component:  Default     |     Version:  3.4.2
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by smani):

 Right, 1:1 was more like 1:1 of the functionality I needed.

 It's been a while since I did the original experiments, but I think the
 important thing was that the actual precision model of the geometries
 changed in order to have the analysis operations run with that precision
 model.

 Ultimately what I needed was a way to reduce the chance of getting these
 tiny spikes caused by imprecisions when for instance intersecting
 geometries, or cases where unions of neighboring geometries failed due to
 geos thinking they were disjoint (again due to precision issues).

 I agree that having QGIS link agains the entire C++ GEOS library is an
 overkill, but at present it was the only way to get it merged into master.
 As soon as GEOS offers such functionality in the C library I'm happy to
 port the QGIS code to whatever API ultimately is implemented and remove
 the dependency again.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/713#comment:9>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list