<div dir="ltr"><div><div><div><br></div>Hey,<br></div><div><br></div><div>you could use postgres windows function and group by on parcel_id, coverage_id.<br></div><div><br></div><div>If using Union, overlapping polygons while be merged, and non overlapping will only be grouped into multi or geom collection.<br>
</div><div>You might struggle to keep the id.<br></div><div><br></div><div>Cheers,<br>RĂ©mi-C<br></div></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-03 22:52 GMT+01:00 mane moshref <span dir="ltr"><<a href="mailto:many_yammy@yahoo.com" target="_blank">many_yammy@yahoo.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">Hi all,<br>
<br>I have a table including FID, parcel_id, coverage_id and geom. I want to find those polygons which have a partial intersect with the same parcel_id and coverage_id and union the intersected ones as One polygon. For example if I have 6 polygons with the same parcel_id and coverage_id and two of them have 5% overlap and another two touch their boarder, I expect to have four polygons at the end. how should I make it?<br>
<br>I appreciate your advice in advance<br>Many<br><div><br></div></div></div><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>