@dave r said:
What is the "correct order"? How is that determined?
Thanks very much Dave!!, I now realize that it is indeed a bit of a shady definition!
I just meant that each polygon has a begin and an end-point and the "correct" order is getting the sequential line segments in that order. So for example for a polyline consisting of 3 line segments I would get 4 co-ordinates in order that makes up the polyline:
x1,y1 start line segment a
x2,y2 end line segment a, start line segment b
x3,y3 end line segment b, start line segment c
x4,y4 end line segment c
I think this is the only way to rebuild a polyline if all you have are the co-ordinates.
Regards
Michiel