<div dir="ltr">Hello,<div><br></div><div>Currently, I'm working on improving the Shapefile editor of MapWinGIS/MapWindow5.</div><div>Under the hood, it is using a lot of GEOS functions.</div><div><br></div><div>When opening a shapefile we can draw a temporary polygon and use it to erase a part of the shapefile. We use GEOS::Difference to 'eat' the drawn polygon from the shapefile.</div><div>This works fine.</div><div><br></div><div>We now want a similar option. But this time not 'stamp' the drawn polygon on the shapefile but remove all vertices of the shapefile that are inside (under) the drawn polygon.</div><div><br></div><div>Does GEOS have a method for that or should I just loop through all vertices of the shape and check if it is inside the drawn polygon and remove it when it does?<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr">Thanks for any advice,<br>
<br>Paul<br>
<br>
<div style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="border:1px solid rgb(229,229,229);background-color:rgb(248,248,248);padding:0.8em 0.8em 0.3em"><div style="margin:0px 0px 8px"><p style="margin:0px"><span><b><img style="float:left;margin-left:5px;margin-right:5px" src="http://www.bontepaarden.nl/bontepaarden/images/newButton.png" alt="" height="120" width="160">Paul Meems </b><br><span>Release manager, configuration manager</span><br><span>and forum moderator of MapWindow GIS.</span><br><a href="http://www.mapwindow.org/" target="_blank"><span>www.mapwindow.org</span></a><br><br><span>Owner of MapWindow.nl - Support for</span><br><span>Dutch speaking users.</span><br><a href="http://www.mapwindow.nl/" target="_blank"><span>www.mapwindow.nl</span></a><br></span></p>
<p style="margin:0px"><b><br></b></p><p style="margin:0px"><b>The MapWindow GIS project has a new <a href="https://mapwindow.discourse.group" target="_blank">forum</a>!</b></p><p style="font-size:13.3px;margin:0px"><br><a href="https://github.com/MapWindow/MapWinGIS/releases" target="_blank">Download the latest MapWinGIS mapping engine.</a><br></p><p style="font-size:13.3px;margin:0px"><span style="font-size:13.3px"><a href="https://github.com/MapWindow/MapWindow5/releases" target="_blank">Download the latest MapWindow 5 open source desktop application.</a><br><br></span></p></div></div><img src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=3.9.12&t=1322134056890&u=482737fd0c4ca423" height="1" width="1"></div>
</div></div></div></div></div></div></div></div></div></div>