Skip to main content

Hi all.

I Need some help. I have two ESRI shapes, the yellow one and a pink one.Both have a column named ID with the values shown below. The red label is for the pink areas and the black label belongs to the yellow areas.The yellow areas can completly be overlapped by each other. (area 800 is under area 700)

I want all to be "clipped" and joined between the pink and the yellow based on the ID column. I need the result as shown in the second image, the blue hatched resulting areas in a shape file.

Any ideas?

You can use the Clipper transformer, with the Yellow polygons as the Clipper, and the Red polygons as the Clippee. Make sure you set Group By to ID, and set Clipper Type to Single Clipper. Check the box next to Merge Attributes, and keep the rest of the defaults.


Hi Courtney_m. I think I'm almost there..... Thnxs.

Beneath is the result in the data inspector. I am a bit confused and I see that my question was a bit "misspelled". I also want to get rid of the red areas (shown below and draw by hand :-)). So area "700" from the "result.png" should be a donut hole in area "800" and chop of the red parts from the resulting areas. The little (allmost round) "800" area (in the donut hole) should stay there.

I hope you understand my question......


Hi Courtney_m. I think I'm almost there..... Thnxs.

Beneath is the result in the data inspector. I am a bit confused and I see that my question was a bit "misspelled". I also want to get rid of the red areas (shown below and draw by hand :-)). So area "700" from the "result.png" should be a donut hole in area "800" and chop of the red parts from the resulting areas. The little (allmost round) "800" area (in the donut hole) should stay there.

I hope you understand my question......

Hi, @smartman63. In your Clipper transformer, try setting Clipper Type to "Multiple Clippers". Please let me know if that gives you the desired result.

 

If this does not give you the desired result, can you please attach some sample data, so I can try it out?

 


Hi, @courtney_m. Thnxs again for your reply!. I will try this out on Friday. Now I'm a few days off. With no result I provide my sample data. Grtz.


Hi, @courtney_m. Thnxs again for your reply!. I will try this out on Friday. Now I'm a few days off. With no result I provide my sample data. Grtz.

Sounds good, thanks!

 

 


Hi, @courtney_m. Just realised that the data is also on my private laptop......I set the clipper type to "Multiple Clippers" but the result looks the same. So I hereby send you a zip file with the source shape files (2), In association to the screenshot "knipsel1.png", shape "tabbie" are the pink areas and the blue belongs to the shapefile named "kvt". I'm very qurious if you can get it to work. Thnxs in advance!!


Hi Courtney_m. I think I'm almost there..... Thnxs.

Beneath is the result in the data inspector. I am a bit confused and I see that my question was a bit "misspelled". I also want to get rid of the red areas (shown below and draw by hand :-)). So area "700" from the "result.png" should be a donut hole in area "800" and chop of the red parts from the resulting areas. The little (allmost round) "800" area (in the donut hole) should stay there.

I hope you understand my question......

@smartman63, I thought I had this figured out, then realized I have a couple more questions for you:

 

 

1. If the 800 area has a hole in the middle, why would you still want to keep the small "800" polygon? If I tell FME to treat the 800 area as a donut, the small 800 polygon will be removed.

 

 

2. Is the 600 area on top of the 800 area, but underneath the 700 area?? Otherwise, I do not understand why the 600 polygon with the red marking would be chopped by the 700 area.

 


Hi @courtney_m. First off all. You're really fast!!. So fast that the answer before this one was removed by you I think. It triggered an error on my side "Oops..." etc, but that's ok. I have to take a look at my real production data for this. My sample was just out of my head...:-)

Friday I'm at work again and I will search for an area in my data concerning my question. Can you wait that long? Grtz


Hi @courtney_m. First off all. You're really fast!!. So fast that the answer before this one was removed by you I think. It triggered an error on my side "Oops..." etc, but that's ok. I have to take a look at my real production data for this. My sample was just out of my head...:-)

Friday I'm at work again and I will search for an area in my data concerning my question. Can you wait that long? Grtz

Hi @smartman63. Sorry about that - I posted an answer and then realized it didn't give the results you want. I figured I'd get more information from you, then post a correct answer 😉.

 

 

Sure, no rush on my end. I will be out of the office on Thursday and Friday, but I will try to get to this as soon as I can, after you post more information.

 


Reply