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

Sandro Santilli strk at keybit.net
Wed Jan 7 06:25:58 PST 2015


On Wed, Jan 07, 2015 at 02:05:59PM +0100, Sandro Mani wrote:

> 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?

Yes, but there's no limit on the number of contexts you can hold in
a thread. Also nobody would prevent you from switching precision model
of the current context. The only problem would be, again, management
of GeometryFactory objects that are no more used.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list