Skip to main content

Hi,

I have two polygon layers where de boundaries doesnt match. I need to add a vertex at each place where the two boundaries intersects. Is there an easy way to do this? I'm trying differents things but i haven't found the right way.

Thx

Have you tried the Intersector? You'll want the Node features.

Example:


Yes i did but i'll get al lot of nodes, not only at the intersections. So i'm currently trying to filter out the nodes on the intersections by a spatial filter and then use the vertex creator to add a vertex at that point in the polygon shape. But it doesn't seem to work very well.


That sounds strange. Could you post an example (screendump or sample dataset) here?


That sounds strange. Could you post an example (screendump or sample dataset) here?

 

This is my first model, very simple. I just want a node where there is an intersection between the tho layers with polygons

 


That sounds strange. Could you post an example (screendump or sample dataset) here?

zcartografiewerkmappenaalstnathalie2018fmeprobleem.jpg

 

This is the result

 


zcartografiewerkmappenaalstnathalie2018fmeprobleem.jpg

 

This is the result

 

It's difficult to see what's going on here, could you post a screenshot zoomed in on two polygons, and also include the polygons themselves?

That sounds strange. Could you post an example (screendump or sample dataset) here?

zcartografiewerkmappenaalstnathalie2018fmeprobleem.jpg

 

The thick lines (zgb) is the layer where I want to add the vertexes where he crosses the thin lines (gemeenten). But I also get nodes where they do not cross each other.

 


That sounds strange. Could you post an example (screendump or sample dataset) here?

zcartografiewerkmappenaalstnathalie2018fmeprobleem.zip My data is to large, i have extract a sample

 

 


It looks like you have several polygons that overlap but with tiny imperfections (probably due to different tolerances and/or number of significant digits), which in turn creates a lot of "faulty" intersections. You'll probably have to clean up your data somewhat before calculating the intersections.

One solution could be to use a Snapper (mode "segment snapping" and with a tolerance of e.g. 0.01) on both datasets. This results in 311 nodes on your sample dataset:

An alternative could be to use the FME 2018 beta (download here) which has a tolerance setting in the Intersector.


Reply