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.
Jeroen Dekkers
close-areas.patch
Description: Binary data
_______________________________________________
dev mailing list
dev@xxxxxxxxxxxxxxxxx
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
|