Version 2013 was commited by wanmil on 2011-08-22 21:33:02 +0100 (Mon, 22 Aug 2011)
Create and use "lies in" information in preprocessed bounds The "lies in" information of a preprocessed boundary defines in which other boundaries a given boundary is completely contained. Example: Boundary A10 (admin_level=10) lies in A8 (admin_level=8), A4 and A2. All elements in A10 are automatically in A8, A4 and A2. So the admin_levels 8, 4 and 2 are defined just be assigning the admin_level=10 boundary. This has two advantages: 1. Perfomance: Time for index creation with bounds option can be reduced by 25% max. 2. Bugfix: Boundary information was inconsistent for elements located in two boundaries of the same level, e.g. a street crossing a city border and a region border could have created one city assigned to both regions. Now a city assigned by the bounds locator should always have the same region and country. _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
