Skip to main content
Question

Hi. I have a spreadsheet containing stations, offsets and direction of offset (left or right). This needs to be translated to point data.How would I automate this?


Hi. I have a spreadsheet containing stations, offsets and direction of offset (left or right). This needs to be translated to point data.How would I automate this?

3 replies

Forum|alt.badge.img
  • December 6, 2019

Let's say that you have your attributes like this:

Xcoord - the x coordinate

 

Ycoord - the y coordinate

 

Direction - Left or Right

 

Offset - The distance of the offset

Then you can use the VertexCreator to create the points and use the Conditional Value function to calculate the x coordinate for the offset point:


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 6, 2019

Assuming the stations have an X and Y coordinate, you can use the VertexCreator transformer to create points for the stations.

Next you would use the Offsetter transformer to move the points according to the listed offset.

Hope this helps.


Thanks for the advice!


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