Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

aggregate polygon

don123Sep 4 2012 — edited Sep 5 2012
hi

i am trying to generate aggregate polygons for adjacent polygons (if polygon touch with other polygon) as below. The sql has created single aggregate polygon (multi polygon) of all (200 in number) polygons (even if they dont touch)

SQL> select sdo_aggr_union(sdoaggrtype(a.geometry, 0.5)) geometry from intpoly a;

Then i tried as below, but no use..i am getting single multi polygon.

SQL> select sdo_aggr_union(sdoaggrtype(a.geometry,0.5)) geometry from intpoly a, intpoly b where sdo_relate(a.geometry, b.geo
metry, 'mask=TOUCH')='TRUE' and a.eid!=b.eid;

any suggestions.. ??
This post has been answered by _jum on Sep 5 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2012
Added on Sep 4 2012
9 comments
444 views