Skip to main content
Question

How to dissolve only certain polygons by using markers


chau
Contributor
Forum|alt.badge.img+3
  • Contributor

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

david_r
Evangelist
  • March 6, 2018

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


chau
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 6, 2018
david_r wrote:

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.

 

 


david_r
Evangelist
  • March 6, 2018
chau wrote:
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?

chau
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 6, 2018
david_r wrote:
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.

 

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • March 6, 2018

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.


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • March 6, 2018

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


nielsgerrits
VIP
Forum|alt.badge.img+54
fmelizard wrote:

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!

chau
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • March 7, 2018
fmelizard wrote:

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!

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings