OpenStreetMap 로고 OpenStreetMap

Endelig kan jeg lave kort med mkgmap igen !

ablansinger님이 English로 2009년 3월 18일에 게시함.

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 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2009년 3월 20일 15:01Ævar Arnfjörð Bjarmason님의 의견

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.

2009년 3월 20일 21:42ablansinger님의 의견

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

2009년 3월 22일 23:10Ævar Arnfjörð Bjarmason님의 의견

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.

댓글을 남기려면 로그인하세요