Select to view content in your preferred language

Dissolve selected polygons

1591
4
Jump to solution
11-08-2016 08:38 AM
by Anonymous User
Not applicable

Hi all,

I am using a feature service (polygons). I am able to select by draw to select the polygons I want. When I am done, I would like to allow users to dissolve the boundaries of the selected geometry. Is it possible with the dissolve widget? or can I achieve this in the Javascript API 3.x or 4.x?

Thanks,

Alex

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Alex,

   A call to the JS API GeometryService Union method sounds like what you are after:

GeometryService | API Reference | ArcGIS API for JavaScript 3.18 | Union 

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

Alex,

   A call to the JS API GeometryService Union method sounds like what you are after:

GeometryService | API Reference | ArcGIS API for JavaScript 3.18 | Union 

0 Kudos
by Anonymous User
Not applicable

Thanks Robert, I am wondering if that Union behaves the same way as the union tool in ArcMap? If it does it is not really going to create 1 polygon (each feature will keep their boundaries) from the selected polygons like the dissolve tool would.

RobertScheitlin__GISP
MVP Emeritus

Alex,

   No I believe that the Geometry Service Union is more like the dissolve (as far as creating one geometry).

0 Kudos
by Anonymous User
Not applicable

Alright I will give it a shot! Thanks Robert!

0 Kudos