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

GEOS geos-trac at osgeo.org
Fri Dec 12 03:08:37 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 strk):

 If I'm not wrong the geometries resulting from this kind of reduction
 would retain their own GeometryFactory which would point to the default
 (floating) precision model. Can you confirm ?

 There's no direct connection between a Geometry and a PrecisionModel,
 rather the Geometry points to a GeometryFactory which points to a

 What we're looking for is an API to allow for storing the precision within
 the geometries, so that operations on fixed-precision geometries will be
 carried with that precision. There have been some discussion about this
 for a GSoC project:
 http://trac.osgeo.org/geos/wiki/GSoC/CAPI_PrecisionModel and see also
 needs from Shapely here: https://github.com/Toblerity/Shapely/issues/110

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