Skip to main content
Question

Spatial relations between points and lines

  • September 7, 2015
  • 2 replies
  • 38 views

Hi,

 

 

I have set with unique points and non unique lines. All endpoints of all lines are in the point set. When I use SpatialRelator (lines are requestors and points are suppliers) with TOUCHES test, I'm getting more related candidates than 2. How is this possible?
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.

2 replies

david_r
Celebrity
  • September 7, 2015
Hi

 

 

Could it be that some lines are intersecting start/endpoints of other lines?

 

 

You may want to convert your lines to start/endpoints (CoordinateExtractor with 0 and -1 indexes, then VertexCreator) first, if you need to avoid this scenario. You might also want to consider using the NeighborFinder if you need to introduce a small tolerance.

 

 

David

  • Author
  • September 8, 2015
David,

 

 

Problem was (of course) on my side. Not so unique points even after thousands checks...

 

 

Thanks anyway!