Coordinate extractor - first and last coordinates only

Related products: FME Form

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

Do you mean extracting multiple coordinates? (You can use -1 in the coordinate index for the last coordinate.)

 

 


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.

 

 


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.

 

'>

'>


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.

'>