Skip to main content
Question

Area Gap and overlap cleaner doesn't keep the inside polygon boundary


Forum|alt.badge.img+1

Hello

I am trying to use Area Gap and Overlap cleaner to clean up data after dissolve transformer. but it is not keeping the boundary intact for polygon that are inside another polygon but part of different group.

see attached. how can I fix this? this should not be selecting inside but boundary of inner polygon. i attached pic of settings for Area Gap cleaner.

Thanks!

12 replies

Forum|alt.badge.img+2
  • August 19, 2019

@nikkia do you have a small sample dataset and workspace that you can share with the group so we can try and reproduce the issue?


Forum|alt.badge.img+1
  • Author
  • August 19, 2019
markatsafe wrote:

@nikkia do you have a small sample dataset and workspace that you can share with the group so we can try and reproduce the issue?

FMESampFME_ShareWorkspace.fmwtle.zip


Forum|alt.badge.img+1
  • Author
  • August 19, 2019
markatsafe wrote:

@nikkia do you have a small sample dataset and workspace that you can share with the group so we can try and reproduce the issue?

Here are the files. I am trying to dissolve boundaries based on different fields.

Thanks

Nikki


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • August 20, 2019
nikkikaur wrote:

Here are the files. I am trying to dissolve boundaries based on different fields.

Thanks

Nikki

Hi @nikkia The polygons get "lost" in Dissolver_POLICE, not the following AreaGapAndOverlapCleaner. Enable Feature Caching to see the results of each transformer.


Forum|alt.badge.img+1
  • Author
  • August 20, 2019
fmelizard wrote:

Hi @nikkia The polygons get "lost" in Dissolver_POLICE, not the following AreaGapAndOverlapCleaner. Enable Feature Caching to see the results of each transformer.

Hello @danatsafe Thanks for you reply!

I want to dissolve polygons by different fields but I don't want to loose the topology.

if you can look at EMS layer object ID 46 and EMS name Front EMS has some part inside west EMS but it doesn't show the relationship correctly and selects the whole polygon ignoring the inner polygon. And it happens after area gap transformer before that they stay separate polygons.

i hope this clarifies what I am trying to achieve. check this snap shot below i don't want inner polygon to be party of the big one.

1565970120787.png


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • August 20, 2019
nikkikaur wrote:

Hello @danatsafe Thanks for you reply!

I want to dissolve polygons by different fields but I don't want to loose the topology.

if you can look at EMS layer object ID 46 and EMS name Front EMS has some part inside west EMS but it doesn't show the relationship correctly and selects the whole polygon ignoring the inner polygon. And it happens after area gap transformer before that they stay separate polygons.

i hope this clarifies what I am trying to achieve. check this snap shot below i don't want inner polygon to be party of the big one.

1565970120787.png

Hi @nikkia Maybe you should dissolve (group by) both POLICE and EMS?


Forum|alt.badge.img+1
  • Author
  • August 21, 2019
fmelizard wrote:

Hi @nikkia Maybe you should dissolve (group by) both POLICE and EMS?

I don't know how is that going to help. I am doing it separately. I need them as separate output. and both have different service areas.

Thanks


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • August 22, 2019
nikkikaur wrote:

I don't know how is that going to help. I am doing it separately. I need them as separate output. and both have different service areas.

Thanks

@nikkia The boundaries disappear because the values for either POLICE or EMS are the same on either side. Dissolvers change topology. Maybe try switching the Dissolvers? Have you looked at the feature caches from each transformer?


Forum|alt.badge.img+1
  • Author
  • August 22, 2019
fmelizard wrote:

@nikkia The boundaries disappear because the values for either POLICE or EMS are the same on either side. Dissolvers change topology. Maybe try switching the Dissolvers? Have you looked at the feature caches from each transformer?

Dissolving by both EMS and Police doesn't help. It gives me multiple records of each EMS even after aggregation and give me not continuous polygons like attached.FME_multiRecord.PNGFme_Crevur.PNGFme_Crevur2.PNG

These 3 polygons should be one continuous polygon because they are next to each other and should have only one record after dissolve and aggregation since it is served by same EMS.

Yes i have been looking at feature caches after every transformer and found that after area gap i loose the inner polygon relationship as you see in the attached images in comparison to topology output.

FME_InnerPoly.PNGFMEBiggerPoly.PNGFMEInnerPolyAGap.PNGFMEBiggerPolyAGap.PNG

Thanks for your help!


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • August 22, 2019
nikkikaur wrote:

Dissolving by both EMS and Police doesn't help. It gives me multiple records of each EMS even after aggregation and give me not continuous polygons like attached.FME_multiRecord.PNGFme_Crevur.PNGFme_Crevur2.PNG

These 3 polygons should be one continuous polygon because they are next to each other and should have only one record after dissolve and aggregation since it is served by same EMS.

Yes i have been looking at feature caches after every transformer and found that after area gap i loose the inner polygon relationship as you see in the attached images in comparison to topology output.

FME_InnerPoly.PNGFMEBiggerPoly.PNGFMEInnerPolyAGap.PNGFMEBiggerPolyAGap.PNG

Thanks for your help!

Hi @nikkia Can you please file a case about this? I'll follow up from there. Thanks!


Forum|alt.badge.img+1
  • Author
  • August 22, 2019
fmelizard wrote:

Hi @nikkia Can you please file a case about this? I'll follow up from there. Thanks!

done.

Thanks for helping!


Forum|alt.badge.img+2
  • August 22, 2019

@nikkia Thanks for adding your sample data and workspace.

Are you able to use FME 2019.1?

When I recreate your workflow in FME 2019, I think I get the result you need. For FME 2019 we did a lot of work on the Dissolver: to improve both performance and the underlying algorithms. This also allows you to simplify the workspace and get a better result. Below are images from the attached workspace (FME 2019.1): dissolver.fmwt

Original Data

Dissolved by POLICE

Dissolved by EMC


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