Skip to main content
Question

Intersection of lines

  • October 12, 2017
  • 5 replies
  • 358 views

Forum|alt.badge.img

Hello

I need to place an icon in all intersections that occur.

The data of the lines is spatial.

Please any help is appreciated

Thanx

5 replies

nathanatsafe
Safer
Forum|alt.badge.img+7

Hi @emorecas, thanks for posting your question!

 

 

For your line intersections, check out the LineOnLineOverlayer. It will output a point at each intersection with the attributes of the overlapping lines.

 

Producing the icon might depend on your desired output. If KML works, try the KMLStyler - it'll let you choose and style your point icons. Check out this article for some more related KML ideas.

Hope this helps!

Nathan


darkspatiallord
Forum|alt.badge.img+6

Actually the Intersector would be a better option and it provides greater options.

Be aware that both of these will change the topology of your line objects. ie. if a road is going over a river, you may not want to break the road segment.


david_r
Celebrity
  • October 13, 2017
darkspatiallord wrote:

Actually the Intersector would be a better option and it provides greater options.

Be aware that both of these will change the topology of your line objects. ie. if a road is going over a river, you may not want to break the road segment.

I'll just add that you can use the "group by" functionality to avoid intersecting specific object types, such as roads and rivers, as long as you have an attribute that differentiates them.

 


Forum|alt.badge.img
  • Author
  • October 13, 2017

Thanks for the help.

I managed to use LineOnLineOverlayer and all the intersections were marked, but there are some that despite having no intersection, were added.

 

How can I remove these created points?


dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • October 13, 2017
emorecas wrote:

Thanks for the help.

I managed to use LineOnLineOverlayer and all the intersections were marked, but there are some that despite having no intersection, were added.

 

How can I remove these created points?

I assume those are separate lines that share the same start and end point? If so, you can use the LineCombiner to create one continuous line before feeding into 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