• Willkommen im Geoclub - dem größten deutschsprachigen Geocaching-Forum. Registriere dich kostenlos, um alle Inhalte zu sehen und neue Beiträge zu erstellen.

Freizeitkarte: ReplaceTyp unter Linux

ikkentobi

Geonewbie
Habe die Ausgabe 18-02 der Freizeitkarte (http://www.freizeitkarte-osm.de) installiert und möchte nun unter Linux gemäß Anleitung den Kartentyp verändern:

Design direkt im GPS-Gerät austauschen (Linux):
1) Verzeichnis "ReplaceTyp.zip" herunterladen und entpacken
2) GPS-Gerät mit dem Linux-System verbinden
3) Shell-Skript starten: sh ReplaceTyp.sh /pfad_zu_meinem/gmapsupp.img
4) das gewünschte Design auswählen ... fertig

# sh ReplaceTyp.sh /media/sd/Garmin/gmapsupp.img

Changing type of /media/sd/Garmin/gmapsupp.img

Select from the following options:
A: freizeit - standard design of all Freizeitkarten project maps
B: outdoor - design based on 'Top50' and 'ICAO' maps
C: outdoor-light - no symbols on the areas included
D: contrast - colors are 'stronger' in compare to 'freizeit'
E: small - optimized for GPS devices with small displays
F: outdoor-contrast - similar to contrast, no symbols on areas
Q: Quit

Enter your choice (A-E, Q):
E

You selected:
small - optimized for GPS devices with small displays
------------------------------------------------------------
Replacing type file in '/media/sd/Garmin/gmapsupp.img' by 'small.TYP'
Hit ctrl-c to abort...

Extracting Family ID: gmt: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted

Replacing Typ file...
gmt: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted
gmt: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted

Hier noch meine locale Einstellungen:

# locale
LANG=en_US.utf8
LANGUAGE=
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME=en_US.utf8
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Hierbei macht es keinen Unterschied, ob ich die deutsche oder die englische Version von ReplaceTyp.zip herunterlade.

Jemand eine Idee (ausser einen Windows Rechner organisieren)?
 

RSKBerlin

Moderator und ewiger Geonewbie
Teammitglied
Versuch mal folgendes: unset $LANG (export LANG=""), dann locale-gen. Und sh -c "LANG=/usr/lib/locale/en_US" (oder was immer das bei Dir dann konkret ist). Mir war so, als wäre ich vor zwei Jahren mal über dasselbe Problem gestolpert (irgendwas mit glibc IIRC).
 
OP
I

ikkentobi

Geonewbie
Scheint geklappt zu haben:

$ LANG=/usr/lib/locale/en_US.utf8 sh ReplaceTyp.sh ../gmapsupp.img

Changing type of ../gmapsupp.img

Select from the following options:
A: freizeit - standard design of all Freizeitkarten project maps
B: outdoor - design based on 'Top50' and 'ICAO' maps
C: outdoor-light - no symbols on the areas included
D: contrast - colors are 'stronger' in compare to 'freizeit'
E: small - optimized for GPS devices with small displays
F: outdoor-contrast - similar to contrast, no symbols on areas
Q: Quit

Enter your choice (A-E, Q):
E

You selected:
small - optimized for GPS devices with small displays
------------------------------------------------------------
Replacing type file in '../gmapsupp.img' by 'small.TYP'
Hit ctrl-c to abort...

Extracting Family ID: 6276
Replacing Typ file...
gmt v0.8.159.746b CC BY-SA (C) 2011-2013 AP www.gmaptool.eu

TYP correction: file small.TYP, FID 6276, PID 1, CP 1252
gmt v0.8.159.746b CC BY-SA (C) 2011-2013 AP www.gmaptool.eu

Map ../gmapsupp.img, writing typ file.

Vielen Dank für die Hilfe!
 
Oben