logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[OSM-dev] [PATCH] close-areas.pl: Fix coastline leaving/entering around pi=: msg#00509

Subject: [OSM-dev] [PATCH] close-areas.pl: Fix coastline leaving/entering around pi=0
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

Attachment: close-areas.patch
Description: Binary data

_______________________________________________
dev mailing list
dev@xxxxxxxxxxxxxxxxx
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
<Prev in Thread] Current Thread [Next in Thread>