Skip to main content
Solved

Spatial Relator not working with 2 line datasets

  • August 24, 2020
  • 4 replies
  • 25 views

I have a very simple question, I have two line datasets that cross each other. The goal is to get a count of how many times each line in dataset 1 crosses a line in dataset 2 (total crossing, ie if line 1 crosses line 2 twice, would like to track that). To do this, I was using a spatial relator with the attached parameters. The problem is that the "related suppliers count attribute" is 0 across the board. I have used "Requester Crosses Supplied" and "Requester Intersects Supplier" with no success. Is there a parameter I am missing? Screenshot_3

Best answer by DanAtSafe

Hi @goskoog​ Do the two datasets have the same coordinate system? Look at both together in the Data Inspector without background maps.

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.

4 replies

DanAtSafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 345 replies
  • Best Answer
  • August 24, 2020

Hi @goskoog​ Do the two datasets have the same coordinate system? Look at both together in the Data Inspector without background maps.


  • Author
  • 7 replies
  • August 24, 2020

@danatsafe​ Thank you for the reply, it turns out without background maps it does look like they have different coordinate systems... the data is coming from two sources I can't modify, is there a recommended way to re-project into a coordinate system? The output needs to be WGS 1984 Web Mercator (Auxiliary Sphere).


Forum|alt.badge.img+2
  • 1891 replies
  • August 24, 2020

@goskoog You can use the Repojector transformer to align Requestor & Supplier coordinate systems.


  • Author
  • 7 replies
  • August 26, 2020

@goskoog You can use the Repojector transformer to align Requestor & Supplier coordinate systems.

@Mark Stoakes​ Thank you Mark, this gets me exactly what I need.