[Tilesathome] Frustrated about oceantiles

Frederik Ramm frederik at remote.org
Tue Dec 16 16:25:03 GMT 2008


Hi,

> close-areas.pl needs a isClockwise(poly) function. I don't know a good
> algorithm off my head, and don't have time to research, but anyone who
> does, feel free to add.

There are many ready to use, but I think the problem is rather the 
"isClockwise(fragments of a poly)" ;-) the inversion bug that sometimes 
pops up with regard to close-areas seems to be a problem with the 
"contains" function which should actually be straightforward but does't 
quite seem to be.

Bye
Frederik





More information about the Tilesathome mailing list