Question

How to dissolve only certain polygons by using markers


Badge +1

I have a set of polygons which has been clipped at one point in time. I would like to dissolve them back together but only along the path originally used to clip them. I don't want to dissolve all polygons touching each other.

My approach so far has been to locate the edges of the polygons I would like to remove and I have marked those in the image below (I have the markings as features). I don't have a common ID on the polygons I would like to dissolve, so I haven't found a way to group the polygons to dissolve them in that way, since one polygon might have more than one marker attached.

How can I achieve what I have outlined below?

Reference:


8 replies

Userlevel 4

If your polygons have a common ID that defines their original composition, you could use that as a Group By in the Dissolver.

Badge +1

If your polygons have a common ID that defines their original composition, you could use that as a Group By in the Dissolver.

I forgot to mention that I don't have a common ID anymore :( What you see is what I have.

 

 

Userlevel 4
I forgot to mention that I don't have a common ID anymore :( What you see is what I have.

 

 

Do you have the red circles (I suppose that's what you mean by markings)? If yes, could you post a small sample dataset here?
Badge +1
Do you have the red circles (I suppose that's what you mean by markings)? If yes, could you post a small sample dataset here?
Its attached to the question.

 

 

Badge +3

chau

Create id's for the circles.

Spatial relate with the objects.

Create a string from the list using a listconcatenator. (or query the list)

Compare lists and create a group id.

Use this group id to dissolve.

Userlevel 4
Badge +13

remove-intersecting-lines.fmw Hi @chau I would use a SpatialFilter to identify the lines to be removed and then rebuild the polygons.

Userlevel 6
Badge +32

remove-intersecting-lines.fmw Hi @chau I would use a SpatialFilter to identify the lines to be removed and then rebuild the polygons.

Nice solution!
Badge +1

remove-intersecting-lines.fmw Hi @chau I would use a SpatialFilter to identify the lines to be removed and then rebuild the polygons.

Hi Dan, thank you for the very elegant solution - it works really nice!

 

 

Reply