Skip to main content
Question

Intersector

  • December 10, 2012
  • 5 replies
  • 41 views

Hello,

 

 

I need a transform that dish points to where a line intersects a polygon. I have entered Résaux road and a municipality. J'besoin the intersection. What trasformer can do this please? (FME 2010 FGDB and / or. SHP as the format.)
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

Hi Katy,

 

 

if I understand it correctly, FeatureReader would be a good option. If necessary, you can apply filter options and moreover do a spatial test (-> Intersect).

 

 

I hope this helps,

 

best regards,

 

 

Stefan 

 


davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • December 11, 2012
Hi Katy - I'm sure you've answered your own question as there is a Transformer called the 'Intersector' that will do that for you. Add your data to the INPUT port and then filter the NODEs based on the type and number of intersections.

  • Author
  • December 11, 2012
HI Stephan,

 

 

You're right, but what I need is a point to the exact spot where the segment intersects...

Hi Katy,

 

 

I see the problem. One approach could be:

 

 

First I take the Intersector, then you can use the SpatialRelator. Here you put the line feature into the Base port and the polygon into the Candidate port. In the transformer properties I set 'Tests to perform to TOUCHES'. Last step is a Tester, where I set '_related_candidates = 1'. Result is one spot where the line intersects the polygon.

 

 

Hope that helps,

 

Stefan

 

 


...just for additional information:

 

 

in the Intersector I used the Node output port.

 

 

 

Moreover I tried to create a list in the Intersector (-> Node output port). In this list I store all the adjacent elements per point. If a point and a polygon intersect, you get at least 3 intersections per point.  After that I put in a ListElementCounter and in the last step I took a Tester where I set up the following test statement "_element_count > 2" . 

 

 

Another approach could be possible with the TopologyBuilder.