Skip to main content
Question

point at intersection

  • January 22, 2018
  • 9 replies
  • 122 views

nath
Contributor
Forum|alt.badge.img+6
  • Contributor

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

9 replies

david_r
Celebrity
  • January 22, 2018

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

Example:


nath
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 22, 2018

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.


david_r
Celebrity
  • January 22, 2018

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


nath
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 22, 2018
david_r wrote:

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

 


nath
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 22, 2018
david_r wrote:

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

zcartografiewerkmappenaalstnathalie2018fmeprobleem.jpg

 

This is the result

 


david_r
Celebrity
  • January 22, 2018
nath wrote:
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?

nath
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 22, 2018
david_r wrote:

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.

 


nath
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 22, 2018
david_r wrote:

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

 

 


david_r
Celebrity
  • January 22, 2018

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.


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