Garmin Kartenerstellung, keine Höhenlinien, 63240015.img bleibt leer
-
Garmin Kartenerstellung, keine Höhenlinien, 63240015.img bleibt leer · erwin6330 (Gast) · 29.05.2012 19:00 · [flux]
Hallo Leute,
ich erstelle mir meine eigenen Garmin-Karten für mein GSPMap60csx mit der Anleitung von Speedpilgrim, http://wiki.openstreetmap.org/wiki/User:Speedpilgrim, und es funktioniert fast perfekt.
Ich lade die Daten für folgende Box runter:
set lon_links=11.661
set lat_unten=47.182
set lon_rechts=12.494
set lat_oben=47.929Daten von OSM kommen einwandfrei, Größe 128.798 KB, output.osm
Daten von NASA kommen auch, Größe 331.638 KB, srtm.osm.Wenn ich nun jedoch das zweite Skript starte, das zur Erstellung der Höhenlinien, dann bleibt die Datei 63240015.img leer, sie hat 0 KB, nur warum?
Hier das Script von SpeedPilgrim
@echo␣off echo␣ERZEUGEN␣DER␣GARMIN-KACHELN␣AUS␣DEN␣OSM/SRTM-DATEN echo.
::␣Lade␣Presets
call␣_presets.bat
::␣Prüfe␣ob␣MapSource/Basecamp␣läuft
echo␣Bitte␣Mapsource/Basecamp␣beenden␣wenn␣geoeffnet␣! echo.
::␣if␣exist␣tasklist.exe␣tasklist␣|␣find␣"MapSource.exe"␣>␣NUL ::␣if␣%errorlevel%==0␣echo␣Bitte␣MapSource␣beenden!␣&␣echo.␣&␣goto␣_nogmapsupp ::␣if␣exist␣tasklist.exe␣tasklist␣|␣find␣"BaseCamp.exe"␣>␣NUL ::␣if␣%errorlevel%==0␣echo␣Bitte␣BaseCamp␣beenden!␣&␣echo.␣&␣goto␣_nogmapsupp
::␣Prüfe␣ob␣%output_osm%␣vorhanden
if␣not␣exist␣%output_osm%␣echo␣Keine␣.osm,␣beende.....&pause&exit dir␣%mkgmap_exe%␣|␣find␣"%mkgmap_exe%" dir␣%output_osm%␣|␣find␣"output.osm" if␣exist␣%srtm_osm%␣dir␣%srtm_osm%␣|␣find␣"srtm.osm" echo.
echo␣Erzeuge␣lines␣fuer␣routing_mode=%routing_mode%␣.␣.␣. copy␣/y␣/b␣_styles\%routing_mode%.h␣+␣_styles\switches.␣+␣_styles\definitions.␣+␣_styles\contours\lines.␣+␣_styles\actions.routing0123␣_styles\routing0123\lines.␣>NUL copy␣/y␣/b␣_styles\%routing_mode%.h␣+␣_styles\switches.␣+␣_styles\definitions.␣+␣_styles\actions.tracktypeoverlay␣_styles\tracktypeoverlay\lines.␣>NUL echo.
echo␣Erzeuge␣Hoehenlinien␣.␣.␣. if␣not␣exist␣%srtm_osm%␣goto␣_nosrtm if␣"%srtm_contours%"==""␣if␣"%srtm_contours_inMS%"==""␣goto␣_nosrtm if␣exist␣%srtm_contours%␣WasFile␣%srtm_contours%␣modified␣after␣%srtm_osm%␣&&␣if␣%errorlevel%==0␣goto␣_nosrtm if␣exist␣%srtm_contours_inMS%␣WasFile␣%srtm_contours_inMS%␣modified␣after␣%srtm_osm%␣&&␣if␣%errorlevel%==0␣goto␣_nosrtm start␣/min␣/low␣/wait␣java␣-Xmx%xmx%M␣-jar␣%mkgmap_exe%␣--family-name=contours␣--description='SRTM_Contours'␣--draw-priority=3␣--mapname=63240015␣--latin1␣--remove-short-arcs=7␣--transparent␣--style-file=_styles\contours␣%srtm_osm% :_nosrtm
echo. echo␣Erzeuge␣Kacheln␣.␣.␣. echo. echo␣1␣von␣4␣.␣.␣. start␣/min␣/low␣/wait␣java␣-Xmx%xmx%M␣-jar␣%mkgmap_exe%␣--family-name=routing␣--description='OSM_Routing0123_%routing_mode%'␣--draw-priority=1␣--mapname=63240010␣--latin1␣--route␣--remove-short-arcs␣--check-roundabouts␣--ignore-maxspeeds␣--ignore-turn-restrictions␣%mkgmap_options%␣--style-file=_styles\routing0123␣%output_osm% echo␣2␣von␣4␣.␣.␣. start␣/min␣/low␣/wait␣java␣-Xmx%xmx%M␣-jar␣%mkgmap_exe%␣--family-name=default␣--description='OSM_DefaultOverlay'␣--draw-priority=1␣--mapname=63240011␣--latin1␣--remove-short-arcs␣--style-file=_styles\default␣%output_osm% echo␣3␣von␣4␣.␣.␣. start␣/min␣/low␣/wait␣java␣-Xmx%xmx%M␣-jar␣%mkgmap_exe%␣--family-name=tracktype␣--description='OSM_TrackTypeOverlay'␣--draw-priority=4␣--mapname=63240016␣--latin1␣--remove-short-arcs␣--style-file=_styles\tracktypeoverlay␣%output_osm% echo␣4␣von␣4␣.␣.␣. start␣/min␣/low␣/wait␣java␣-Xmx%xmx%M␣-jar␣%mkgmap_exe%␣--family-name=pois␣--description='OSM_POIs'␣--draw-priority=5␣--mapname=63240017␣--latin1␣--add-pois-to-areas␣--style-file=_styles\pois␣%output_osm%
echo. echo␣Erzeuge␣transparente␣Kacheln␣fuer␣MS/BC␣.␣.␣. copy␣/y␣63240010.img␣63240001.img␣>␣NUL gmt␣-wt␣63240001.img␣>␣NUL gmt␣-we␣63240001␣63240001.img␣>␣NUL copy␣/y␣63240011.img␣63240000.img␣>␣NUL gmt␣-wt␣63240000.img␣>␣NUL gmt␣-we␣63240000␣63240000.img␣>␣NUL
gmt␣-wt␣63240016.img␣>␣NUL gmt␣-wt␣63240017.img␣>␣NUL
echo. echo␣Erzeuge␣GMAPSUPP.IMG␣.␣.␣. if␣not␣"%create_gmapsupp%"=="yes"␣goto␣_nogmapsupp set␣fid=%topo_fid% if␣not␣"%typfile%"==""␣gmt␣-wy␣%fid%,1␣%typfile% start␣/min␣/low␣/wait␣java␣-Xmx%xmx%M␣-jar␣%mkgmap_exe%␣--family-id=%fid%␣--gmapsupp␣%osm_pois%␣%osm_tracktypeoverlay%␣%srtm_contours%␣%osm_default%␣%garmin_topo%␣%osm_routing0123%␣%typfile%
:_nogmapsupp
if␣not␣"%autoclose_dosbox%"=="yes"␣pause
Mache ich die Box nur etwas kleiner, z.B. set lat_unten=47.383, dann funktioniert es auch.
Ich bräuchte jedoch die Daten der größeren Box zum Radfahren, bitte helft mir 🤔
Danke im voraus.