[Qgis-developer] new dependency on GEOS C++ library

Sandro Santilli strk at keybit.net
Fri Oct 2 10:16:54 PDT 2015

So, for the record.
The current TRUNK branch of GEOS (to become 3.6.0) contains
a new function to change a Geometry's PrecisionModel in a way
that it'll stick to the Geometry and determine precision of
the operations.

It needs to be used with much care to avoid the stickiness
to strike back. The same function can be used to bring the
precision grid back to the grid of floating points.

I hope this is enough to drop the C++ dependency over the weekend :)


On Thu, Oct 01, 2015 at 05:56:02PM +0200, Sandro Santilli wrote:
> On Thu, Oct 01, 2015 at 05:41:58PM +0200, Sandro Mani wrote:
> > 
> > 
> > On 01.10.2015 17:26, Sandro Santilli wrote:
> > >So while the discussion on geos-dev started, I'm thinking that
> > >for GEOS you might prefer to have a solution that also works
> > >with older GEOS version ? Note that doing that by keeping the
> > >dependency on the C++ interface might be a puzzle for packagers
> > >because every version of GEOS is intentionally marked as being
> > >binary incompatible with the previous.
> > >
> > >Would it make sense to just do the gridding internally (dropping
> > >the geosc++ dep) for now and postpone the proper precision model
> > >implementation to only be available with the newer GEOS release ?
> > >
> > >The idea is to ship a 3.6 version of GEOS capable of the PrecisionModel
> > >control before February.
> > >
> > I suppose I could replace the incomplete precision reduction
> > implementation with a hand-rolled snap-to-grid for now and wait for
> > GEOS 3.6. If there are no objections, I'll move on with this this
> > weekend.
> Sounds good to me.
> I'd still love to gather your comments on geos-dev list for the
> new interface.
> --strk;

More information about the Qgis-developer mailing list