<div dir="ltr"><div>Hi List,<br><br></div>We use with MapWinGIS (C++ ActiveX control) GDAL with GEOS.<div><div dir="ltr"><br>
We currently have a custom AggregateShapefile method which is not using GEOS.<br></div><div>In this method we aggregate (union) all shapes based on an attribute. This method is not working 100% and I'm wondering if GEOS has something similar.<br>

<br></div><div>For example I have the counties shapefile of the USA. I want to aggregate all counties that are in the same state.<br></div><div>I know of the Union method in GEOS, but that doesn't takes into account the attribute and in this example will result in a shapefile with 1 shape instead of a shape for each state.<br>

</div><div><br></div><div dir="ltr">Any advice will be much appreciated.<br><br></div><div>Thanks,<br></div><div dir="ltr"><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>Join us at the <a href="http://geogis.detek.unideb.hu/TKonferencia/2014/" target="_blank">MapWindow GIS Conference 2014</a>, in Debrecen Hungary<br></b></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>