Use CoordinatesExtractor set to Specify Coordinate. For start point use Index 0 and for end point index -1
Use CoordinatesExtractor set to Specify Coordinate. For start point use Index 0 and for end point index -1
Hi @caracadrian,
thanks for your reply on this. I usually keep index 0 and -1 using coordinateextractor..but I want to make sure that it is giving me exact end points of that poly line and not any random two points out of it.
Hi @caracadrian,
thanks for your reply on this. I usually keep index 0 and -1 using coordinateextractor..but I want to make sure that it is giving me exact end points of that poly line and not any random two points out of it.
Hi There,
Any comments on my previous question please?
Hi @ppp19 Yes, index 0 returns the first coordinate, and -1 is the last coordinate. There is no randomness with the CoordinateExtractor.
Hi @caracadrian,
thanks for your reply on this. I usually keep index 0 and -1 using coordinateextractor..but I want to make sure that it is giving me exact end points of that poly line and not any random two points out of it.
What @danatsafe said.
In programing 0 is the first element and -1 is the last. Well, sometimes, -1 is previous, but first+previous=first+last, unless you have a polygon (closed polyline/area feature), in witch case first=last. So... what DanAtSafe said😉