Hallo Leute,
ich habe intensiv im www geforscht, google genutzt, die SuFu etc. Hat aber alles nicht wirklich zum Erfolg geführt.
Ich habe die 491MN große OSM Karte von Griechenland und möchte diese in das img Format von Garmin konvertieren, um sie dann auf dem Oregon nutzen zu können.
Habe dazu laut Wiki das Tool mkgmap-r1867 genutzt mit dem Befehl:
java -jar mkgmap.jar greece.osm
Wie zu erwarten funktionierte es nicht. Es kam ein ganze Latte von Fehlermeldungen.
Code
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>cd My Documents
C:\Documents and Settings\Administrator\My Documents>cd osm
C:\Documents and Settings\Administrator\My Documents\osm>cd osm
C:\Documents and Settings\Administrator\My Documents\osm\osm>java -jar mkgmap.jar greece.osm
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/40277015) contains zero length arc at http://www.openstreetmap.org/?mlat=39.54497&mlon=19.85363&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/91615362) contains zero length arc at http://www.openstreetmap.org/?mlat=38.66788&mlon=21.36506&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (???? ????????, http://www.openstreetmap.org/browse/way/107889705) contains zero length arc at http://www.openstreetmap.org/?mlat=40.59495&mlon=22.98336&z
oom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/16159777) contains zero length arc at http://www.openstreetmap.org/?mlat=40.58620&mlon=22.98168&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/87662194) contains zero length arc at http://www.openstreetmap.org/?mlat=40.82998&mlon=21.50597&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/107902306) contains zero length arc at http://www.openstreetmap.org/?mlat=40.59472&mlon=22.98301&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (???? ?????????, http://www.openstreetmap.org/browse/way/14156773) contains zero length arc at http://www.openstreetmap.org/?mlat=40.61418&mlon=22.97009&z
oom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (???? ???????? ????????????, http://www.openstreetmap.org/browse/way/46266101) contains zero length arc at http://www.openstreetmap.org/?mlat=41.24607&mlo
n=23.37919&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (?. ????????????, http://www.openstreetmap.org/browse/way/25636153) contains zero length arc at http://www.openstreetmap.org/?mlat=35.36984&mlon=24.46881&
zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (?????????????, http://www.openstreetmap.org/browse/way/32052538) contains zero length arc at http://www.openstreetmap.org/?mlat=37.83305&mlon=23.78257&zo
om=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (♣EO67 ???? ???????, http://www.openstreetmap.org/browse/way/34389786) contains zero length arc at http://www.openstreetmap.org/?mlat=40.63598&mlon=22.943
92&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/21656946) contains zero length arc at http://www.openstreetmap.org/?mlat=40.59796&mlon=22.98473&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (???? ??????? ????, http://www.openstreetmap.org/browse/way/21656337) contains zero length arc at http://www.openstreetmap.org/?mlat=40.60088&mlon=22.9891
9&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (???? ????? ?????????, http://www.openstreetmap.org/browse/way/59192159) contains zero length arc at http://www.openstreetmap.org/?mlat=40.63437&mlon=22.9
5649&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (Sfakion, http://www.openstreetmap.org/browse/way/32080945) contains zero length arc at http://www.openstreetmap.org/?mlat=37.97188&mlon=23.62655&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/14888697) contains zero length arc at http://www.openstreetmap.org/?mlat=40.58695&mlon=22.98160&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/18810888) contains zero length arc at http://www.openstreetmap.org/?mlat=40.58899&mlon=22.98885&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/24461733) contains zero length arc at http://www.openstreetmap.org/?mlat=37.63019&mlon=23.38826&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/95965482) contains zero length arc at http://www.openstreetmap.org/?mlat=38.39668&mlon=26.10749&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/55248246) contains zero length arc at http://www.openstreetmap.org/?mlat=41.07900&mlon=23.55355&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/86608473) contains zero length arc at http://www.openstreetmap.org/?mlat=40.82998&mlon=21.50597&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/21492262) contains zero length arc at http://www.openstreetmap.org/?mlat=40.49694&mlon=22.99061&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (??????????? ???????, http://www.openstreetmap.org/browse/way/66430996) contains zero length arc at http://www.openstreetmap.org/?mlat=40.93519&mlon=24.40
139&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/59965710) contains zero length arc at http://www.openstreetmap.org/?mlat=35.31233&mlon=25.11155&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/102276183) contains zero length arc at http://www.openstreetmap.org/?mlat=38.08149&mlon=23.67178&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (??????????? ????, http://www.openstreetmap.org/browse/way/29227844) contains zero length arc at http://www.openstreetmap.org/?mlat=39.67082&mlon=20.85784
&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (020, http://www.openstreetmap.org/browse/way/80218503) contains zero length arc at http://www.openstreetmap.org/?mlat=39.56250&mlon=22.46163&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/51537204) contains zero length arc at http://www.openstreetmap.org/?mlat=39.37925&mlon=22.93538&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (??????????? ?????, http://www.openstreetmap.org/browse/way/27541986) contains zero length arc at http://www.openstreetmap.org/?mlat=39.66159&mlon=20.8480
6&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (????????, http://www.openstreetmap.org/browse/way/44463538) contains zero length arc at http://www.openstreetmap.org/?mlat=37.98723&mlon=23.71807&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/27218286) contains zero length arc at http://www.openstreetmap.org/?mlat=40.39523&mlon=23.87750&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/38105922) contains zero length arc at http://www.openstreetmap.org/?mlat=40.39523&mlon=23.87750&zoom=17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (Antinoros, http://www.openstreetmap.org/browse/way/109101372) contains zero length arc at http://www.openstreetmap.org/?mlat=38.17273&mlon=20.49042&zoom=
17
SCHWERWIEGEND (RoadNetwork): greece.osm: Road (http://www.openstreetmap.org/browse/way/59394659) contains zero length arc at http://www.openstreetmap.org/?mlat=38.06799&mlon=23.85885&zoom=17
java.lang.OutOfMemoryError: Java heap space
at uk.me.parabola.mkgmap.general.RoadNetwork.addRoad(RoadNetwork.java:184)
at uk.me.parabola.mkgmap.general.MapDetails.addRoad(MapDetails.java:114)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter$1.add(StyledConverter.java:153)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadWithoutLoops(StyledConverter.java:1667)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadAfterSplittingLoops(StyledConverter.java:1124)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoad(StyledConverter.java:1052)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addConvertedWay(StyledConverter.java:313)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.access$200(StyledConverter.java:71)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter$2.add(StyledConverter.java:304)
at uk.me.parabola.mkgmap.reader.osm.WatchableTypeResult.add(WatchableTypeResult.java:45)
at uk.me.parabola.mkgmap.osmstyle.ExpressionRule.resolveType(ExpressionRule.java:42)
at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:79)
at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:293)
at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:238)
at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:77)
at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:145)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:217)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option
C:\Documents and Settings\Administrator\My Documents\osm\osm>
Alles anzeigen
Frage:
gibt es ein zeitgemäßes Tool zur Konvertierung von oms zu img?
Danke für eure Hilfe