Dear list,
maybe this is a simple question, but I need a little help.

***************************************
My Questions:
what's the way to sort polylines clockwise  who "come up to a circle" ?

********************
The data:
Imagine you have a table with polylines.
By selection you can get all polylines reprensenting one community boundary.
The selected polylines "come up to a circle", there are no gaps.     // I don' t know 
if this is the correct description 

*****************
My problem:
the polylines are not sorted: 
that means neither Rowids nor Start and end- nodes lead to the information that for 
example Polyline 1 
is clockwise connected to Polyline 8. and so on.
 
*****************
My wish:
I like to sort the polylines for example in an array,
that means I like to start with the polyline with the maximum Y coordinate and order 
the 
following polylines clockwise.

This duty should be integrated into a mapbasic script.

Any suggestions would be helpful.

Thanks in Advance

Hendrik Possberg


 


 
 

Reply via email to