[OSM-dev] [PATCH] close-areas.pl: Fix coastline leaving/entering around pi=0
jeroen at vrijschrift.org
Sat Apr 28 12:52:00 BST 2007
I found an interesting cornercase while trying to render tile
2105,1344. The coastline exits as angle 0.49745684251941 and enters at
6.27805519711706. The current code checks whether the exit angle is
smaller and draws a way all around the box if it is, but fails to
check whether this is because it crosses boundary of 0 and 2*pi(). The
attached patch should fix that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1543 bytes
Desc: not available
More information about the dev