logo separator

[mkgmap-dev] Commit: r2202: Fix rare NullPointerException when loading preprocessed boundary

From svn commit svn at mkgmap.org.uk on Tue Feb 7 20:01:10 GMT 2012

Version 2202 was commited by wanmil on 2012-02-07 20:01:10 +0000 (Tue, 07 Feb 2012) 

Fix rare NullPointerException when loading preprocessed boundary

The NullPointerException happened when only a very small area of the boundary intersects the bounds bounding box. In rare cases cutting the area to the bbox leaves one small area only. Fitting this area to the integer coord space changes the direction from clockwise to counter clockwise which mangles the detection if an area is outer or inner. This misdetection causes the NullPointerException.


More information about the mkgmap-dev mailing list