Can anybody point me in the direction of an algorithm that will determine whether a closed way (polyline) is clockwise or anti- clockwise? cheers Richard