Skip to main content
Open

Coordinate extractor - first and last coordinates only

Related products:Transformers
  • February 14, 2017
  • 4 replies
  • 89 views

ebygomm
Influencer
Forum|alt.badge.img+48

Add an additional option to the coordinate extractor to allow extraction of start and end coordinates/multiple specified coordinates

4 replies

revesz
Contributor
Forum|alt.badge.img+21
  • Contributor
  • February 15, 2017
Do you mean extracting multiple coordinates? (You can use -1 in the coordinate index for the last coordinate.)

 

 


ebygomm
Influencer
Forum|alt.badge.img+48
  • Author
  • Influencer
  • February 16, 2017
Yes, currently you can specify a coordinate, e.g. 0 for first and -1 for last, or get all coordinates, but if you want just the first and last coordinates you either need to use two coordinate extractors or extract all coordinates and identify the first and last from the list produced.

 

 


dellerbeck
Contributor
Forum|alt.badge.img+7
  • Contributor
  • February 11, 2021

Simple, add a coordinate extractor and return the -1 X \\ Y to end attributes. Right click and add an X \\ Y begin attribute, for the values use @XValue() and @YValue(). These will extract the begin index of a line.

 

'>

'>


trevorm
Contributor
Forum|alt.badge.img+3
  • Contributor
  • October 15, 2021

First and Last with x,y,z,m (measure) should also be considered as it becomes more and more popular with LRS / Routes.

 

I don't know if this solution will work for everyone, but I thought I would comment the LRS_GetRouteMeas does what this request wanted for me.

'>