logo separator

[mkgmap-dev] Commit: r2186: Avoid NullPointerException in BoundaryUtil when loading a preprocessed bounds file.

From svn commit svn at mkgmap.org.uk on Fri Jan 27 18:03:03 GMT 2012

Version 2186 was commited by wanmil on 2012-01-27 18:03:02 +0000 (Fri, 27 Jan 2012) 

Avoid NullPointerException in BoundaryUtil when loading a preprocessed bounds file.

The Exception occurred when loading a bounds file that contains a boundary which first area is counterclockwise due to a problem with the Java2DConverter which has to round points to integer coordinates. In rare cases this changes a polygon from clockwise to counterclockwise.
Now issue a warning if this happens and ignore the polygon.


More information about the mkgmap-dev mailing list