OpenStreetMap標誌 OpenStreetMap

Efter i en længere periode ikke at have kunnet bruge mkgmap til at lave kort over danmark så har jeg nu fået det til at virke igen!

Jeg tror det gik galt da alle de danske adresser blev importeret fra KMS, og den store datamængde gjorde at min computer ikke kunne håndtere opgaven mere, - selvom jeg opgraderede fra 1GB til 2GB RAm så gik det ikke.

Jeg har nu lavet et lille program som stripper alle KMS noderne ud af mine osm filer før jeg putter dem ind i mkgmap, og så virker det igen.
Løsningen har jo dog nok noget begrænset holdbarhed da disse noder med tiden gerne skulle med over i GPS'en.

Jeg har forøvrigt bemærket at danmarks kortet på denne link:
http://www.osm4you.com/Europe/Denmark/denmark_gmapsupp_img.zip
heller ikke bliver opdataret mere, og her bruges også mkgmap. Et tilfælde ???

god jagt

電郵圖示 Bluesky圖示 Facebook圖示 LinkedIn圖示 Mastodon圖示 Telegram圖示 X圖示

討論

Ævar Arnfjörð Bjarmason2009年3月20日15:01發表的評論

Have you tried using splitter.jar to split up denmark before you make the map with mkgmap?

There's no reason why you need to make one giant .img file of Denmark, and if you split it up you could make it on your computer without stripping any data from the .osm file.

ablansinger2009年3月20日21:42發表的評論

Hi
Thank you for your input.
1) I have tried to split denmark into "Jylland" "Fyn" and "Sjæland", and not even the small "Fyn" part could I handle with mkgmap.
2) I have tried tu use the suggested splitter and it produced a set of img files, but mkgmap failed to to bring it all back together in one "gmapsupp.img file" I dont recall the error message though.

At some point I was wondering if it was only my computer or some of the OSM data for Denmark that was causing the problems, well I have a working solution for my self now but it seems there are still problems athttp://www.asmweb.de/OpenStreetMap/Europe/Denmark/ this coul dbe the same problem.

Anybody out there that could try to do a test with mkgmap on a denmak.osm file ?

ablansinger

Ævar Arnfjörð Bjarmason2009年3月22日23:10發表的評論

If you have a bunch of .img files you can combine them into a gmapsupp with:


java -jar mkgmap.jar --gmapsupp list.img of.img files.img

Also, to produce this without splitting in the first place you can add more virtual memory to your machine, it'll be slower but at least it won't run out of memory instead of finishing slowly .. eventually.

登入以留言