I was generating a map of Potsdam with mkgmap from an .osm file which
I had produced by making multiple API requests in JOSM as no extract
was available (and XAPI is down).
This resulted in a JOSM .osm file with multiple bounds elements.
mkgmap couldn't handle this and clipped the map to one of them
(presumably the first one) so my generated map showed only a part of
the area I had data for.
Maybe multiple <bounds> elements are invalid, or maybe mkgmap should
handle them. I can't find it on the wiki so you guys figure it out:)
For reference I'm attaching the changes I made to my .osm file to make
it work, which consisted of removing all the <bounds> elements.
--- Desktop/Potsdam.osm 2009-07-05 10:58:52.000000000 +0000
+++ src/map/potsdam/Potsdam.osm 2009-07-05 11:32:23.000000000 +0000
@@ -1,9 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
- <bounds minlat='52.425035319943' minlon='12.9350280761719' maxlat='52.4777619318499' maxlon='13.1698608398438' origin='OpenStreetMap server' />
- <bounds minlat='52.2967220498974' minlon='12.8567504882812' maxlat='52.4292222779551' maxlon='13.018798828125' origin='OpenStreetMap server' />
- <bounds minlat='52.3969724417492' minlon='13.0139923095703' maxlat='52.4371764025608' maxlon='13.1478881835938' origin='OpenStreetMap server' />
- <bounds minlat='52.3240093086926' minlon='12.9666137695312' maxlat='52.4015810050808' maxlon='13.1561279296875' origin='OpenStreetMap server' />
<node id='360021233' timestamp='2009-03-13T22:32:40Z' user='Plan_A' visible='true' version='3' lat='52.4499741' lon='13.1450918'>
<tag k='addr:postcode' v='14089' />
<tag k='name' v='Heilpädagogischer Kinder- und Jugendhilfeverbund SANCTA MARIA' />
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev