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

GEOS geos-trac at osgeo.org
Mon Dec 15 07:41:13 PST 2014

#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  |    Keywords:                            

Comment(by smani):

 Yes indeed the geometry returned by GeometryPrecisionReducer::reduce
 retains the GeometryFactory of the input geometry.

 The API you describe basically means exposing the GeometryFactory in the C
 API, along with methods to create a GeometryFactory with a given
 PrecisionModel, and then adding methods for all geometry types to create
 them with the specified GeometryFactory, right?

 But considering a situation where the geometry is already given, exposing
 the GeometryPrecisionReducer would still be needed, since AFAICS it is the
 only way to reduce the precision of an already given geometry?

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