Boost logo

Geometry :

Subject: Re: [geometry] ring, multi_polygon concepts too limited or not
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-09-04 11:18:35


Hi Renaud,

On 3-9-2013 23:00, lepere renaud wrote:
> >
> > The issues you reported are fixed in the SVN Trunk. Are you using
> Trunk?
> > Could you verify if your intersection is working for your
> > Ring/MultiPolygon?
> >
> > Thanks, Barend
> >
> Hi,
>
> No sorry there is new problem, but it is better
> 1. in append_no_dups_or_spikes.hpp with the range.erase(it) method.
> Perhaps the erase method could be simulated by creating a new range
> copy but this could be inefficient if erase at the end...

This is now fixed in trunk.

>
> 2. While boost::geometry::concept::check< Geom::MultiPolygon >(); is
> ok ; i add forgot to specialize push_back, clear & resize and this
> leads to errors in code like:
> MultiPolygon mp;
> boost::geometry::read_wkt(s, mp);
> after adding those methods it is ok. concept::check< MultiPolygon > is
> probably not strong enough.

The checks for non-const multi-geometries are now extended in trunk.

Could you give it one more try? Thanks.

Regards, Barend


Geometry list run by mateusz at loskot.net