I need the start point value and endpoint value in the line geometry. I have been able to achieve the values using the script given here But it is giving me errors in a few cases and I do not know how to solve my case.
At some places, the point from where we need to start/end value is at a certain distance from the line (~ 0.5m or 0.3m). In such cases even after using Feature Vertices to Point (start and end vertices) and manually adding the start/end values, I am unable to get the correct result. It swaps the end value for the start value and vice versa. The start value and end value is required based on the direction/flow of the line.
I have also tried using Feature Vertices to Points and then trying spatial join and then inner join based on buffer for such cases, but it is not yielding results.