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

GEOS geos-trac at osgeo.org
Thu Oct 1 04:18:39 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 strk):

 GeometryPrecisionReducer can change or not change the geometry factory of
 the reduced geometry, depending on how it is constructed. If you pass a
 new GeometryFactory to the constructor, it will use it for the output
 geometry, otherwise it will not. Your implementation is passing a
 PrecisionModel rather than a pointer to a GeometryFactory, that's the
 problem.

 This brings us to the need of exposing a GeometryFactory, more than a
 PrecisionModel.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/713#comment:15>
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