
Hi all, while looking at the problem reported by Henning I've noticed a few special cases. Please comment: 1) The current code tries to set the mkgmap:admin_level? tags for generated ways with natural=sea. Does that make sense? Sometimes it works, esp. when the polygon is close to the coast. 2) The current code may fail to set mkgmap:admin_levelx tags for ways with natural=land generated by SeaGenerator even if these polygons are clearly inside a country boundary. It happens when the generated way is outside the (calculated) bounding box of all nodes in input file, but inside the tile boundary. Such a tile is produced by splitter when you split e.g. Canada without trimming the tiles. Some tiles will cover large parts of the USA. This potential problem was introduced with r3861 : http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3861 Gerd