[geos-devel] Exposing PrecisionModel, GeometryPrecisionReducer in the C API

Sandro Mani manisandro at gmail.com
Wed Jan 7 05:05:59 PST 2015


On 07.01.2015 13:44, Sandro Santilli wrote:
> On Wed, Jan 07, 2015 at 01:23:29PM +0100, Sandro Mani wrote:
>
>> I could check in the code, but do you know off the top of your head
>> whether GEOS can perform operations with geometries of different
>> precision, i.e. say an intersection?
> It would use the precision of the smallest-precision geometry
> as the precision of the operation. The returned geometry would
> have the precision of the operation.
>
> Some operations allow to override the precision, to take it
> explicitly rather than from the smallest of the input geometry
> precisions.
>
Okay. So back to your point about hiding the GeometryFactory, I'd say no 
since otherwise one is limited to one precision model per context?


More information about the geos-devel mailing list