====== GeoCaching ======
===== Nützliche Tools =====
{{:GPS_Koordinatenformate.pdf|Beispiel}} zur Umrechnung der verschiedenen Koordinatenformate\\
Koordinaten von und in andere Formate umrechnen inkl. Darstellung auf einer Karte: [[https://www.koordinaten-umrechner.de|https://www.koordinaten-umrechner.de]]
===== Online GPX Tracks erstellen =====
* [[http://www.brouter.de/brouter-web|http://www.brouter.de/brouter-web]]
* [[https://www.media-tours.de/maps4/|https://www.media-tours.de/maps4/]] <- Wegpunkte und Tracks
===== Online GPX Tracks betrachten =====
* [[https://www.j-berkemeier.de/ShowGPX.html|https://www.j-berkemeier.de/ShowGPX.html]]
===== Offlinekarten =====
Für c:geo sind *.map Dateien notwendig.
* [[http://download.openandromaps.org/mapsV4/Germany/Germany.zip|https://www.openandromaps.org]] <- V4 Map (aktuell verwendet!)
* [[https://ftp.gwdg.de/pub/misc/openstreetmap/openandromaps/mapsV4/Germany/Germany.zip| Alternativ dieser Server]]
* [[https://download.mapsforge.org/maps/v5/europe/|https://download.mapsforge.org/maps/v5/europe/]] <- V5 von c:geo benötigt
Für Garmin Oregon 450
* [[http://garmin.openstreetmap.nl/|http://garmin.openstreetmap.nl/]] <- sehr geringe Bandbreite
* [[http://www.raumbezug.eu/ag/internet/osmGarmin.htm|http://www.raumbezug.eu/ag/internet/osmGarmin.htm]] <- 28.07.2020: Webseite defekt, kein Download möglich
* [[http://www.freizeitkarte-osm.de/garmin/de/deutschland.html|http://www.freizeitkarte-osm.de/garmin/de/deutschland.html]] <- sehr blasse Darstellung, wenig Kontrast, eher zweite Wahl
Für OSMAND sind *.obf Dateien notwendig.
* [[http://download.osmand.net/rawindexes/|http://download.osmand.net/rawindexes/]]
Hier ein kleines Shell Skript zum automatischne Herunterladen der Karten z.B. für Deutschland. Es kann leicht durch Hinzufügen werterer URLs erweitert werden.\\
#!/bin/bash
#
#
# Add your map sources here, don't forget to increase the array counter index!
#MAP[0]="http://download.osmand.net/download.php?standard=yes&file=Georgian_wiki_2.obf.zip"
MAP[1]="http://download.osmand.net/download.php?standard=yes&file=German_wiki_2.obf.zip"
MAP[2]="http://download.osmand.net/download.php?standard=yes&file=Germany_addresses-nationwide_europe_2.obf.zip"
MAP[3]="http://download.osmand.net/download.php?standard=yes&file=Germany_baden-wuerttemberg_europe_2.obf.zip"
MAP[4]="http://download.osmand.net/download.php?standard=yes&file=Germany_bayern_europe_2.obf.zip"
MAP[5]="http://download.osmand.net/download.php?standard=yes&file=Germany_berlin_europe_2.obf.zip"
MAP[6]="http://download.osmand.net/download.php?standard=yes&file=Germany_brandenburg_europe_2.obf.zip"
MAP[7]="http://download.osmand.net/download.php?standard=yes&file=Germany_bremen_europe_2.obf.zip"
MAP[8]="http://download.osmand.net/download.php?standard=yes&file=Germany_hamburg_europe_2.obf.zip"
MAP[9]="http://download.osmand.net/download.php?standard=yes&file=Germany_hessen_europe_2.obf.zip"
MAP[10]="http://download.osmand.net/download.php?standard=yes&file=Germany_mecklenburg-vorpommern_europe_2.obf.zip"
MAP[11]="http://download.osmand.net/download.php?standard=yes&file=Germany_niedersachsen_europe_2.obf.zip"
MAP[12]="http://download.osmand.net/download.php?standard=yes&file=Germany_nordrhein-westfalen_europe_2.obf.zip"
MAP[13]="http://download.osmand.net/download.php?standard=yes&file=Germany_rheinland-pfalz_europe_2.obf.zip"
MAP[14]="http://download.osmand.net/download.php?standard=yes&file=Germany_saarland_europe_2.obf.zip"
MAP[15]="http://download.osmand.net/download.php?standard=yes&file=Germany_sachsen-anhalt_europe_2.obf.zip"
MAP[16]="http://download.osmand.net/download.php?standard=yes&file=Germany_sachsen_europe_2.obf.zip"
MAP[17]="http://download.osmand.net/download.php?standard=yes&file=Germany_schleswig-holstein_europe_2.obf.zip"
MAP[18]="http://download.osmand.net/download.php?standard=yes&file=Germany_thueringen_europe_2.obf.zip"
MAP[19]="http://download.osmand.net/download.php?standard=yes&file=Denmark_europe_2.obf.zip"
clear
echo "Start downloading new maps from \"osmand.net\""
echo "---------------------------------------------------"
for (( i=1; i<=19; i++ ))
do
# extract filename from URL:
filename=`echo "${MAP[$i]}" | cut -d"=" -f3`
if [ -e $filename ]; then
rm $filename
else
:
fi
echo -n "Processing: \"$filename\" ... Downloading ... "
wget --quiet -O "$filename" "${MAP[$i]}"
echo -n "done -> "
echo -n "Extracting map from ZIP-file ... "
unzip -o -qq $filename && rm $filename
echo "done"
done
echo ""
echo "---------------------------------------------------"
echo "Download process finished!"
echo ""
Die folgenden Zeilen erleichtern das Herunterladen und starten des Skriptes:
wget -O download_fresh_osmand_maps.sh "http://www.von-thuelen.de/doku.php/geocaching?do=export_code&codeblock=0"
chmod +x download_fresh_osmand_maps.sh
./download_fresh_osmand_maps.sh
===== Garmin etrex Vista HCX =====
Hier gibt es ein paar nützliche Informationen, wie man einen Gramin etrax Vista HCX unter Ubuntu 12.04 LTS (64bit) mit GPX-Dateien befüllt.
==== Informationsquellen ====
* [[http://forum.siduction.org/index.php?topic=4990.0|http://forum.siduction.org/index.php?topic=4990.0]]
* [[https://wiki.ubuntuusers.de/Garmin_eTrex_Legend_HCx/|https://wiki.ubuntuusers.de/Garmin_eTrex_Legend_HCx/]]
* [[http://www.andreas-diesner.de/garminplugin/doku.php|http://www.andreas-diesner.de/garminplugin/doku.php]]
==== Konfigurationen ====
=== Notebook mit TLP ===
Damit der Garmin etrax nicht nach dem Anschließen an den USB-Port vom [[TLP|http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html]] sofort in den Stand-By Modus versetzt wird, muss es geblacklisted werden.\\
''vi /etc/default/tlp.conf''
...
USB_BLACKLIST="091e:0003"
=== Notebook mit laptop-mode-tools ===
''vi /etc/laptop-mode/conf.d/usb-autosuspend.conf''
...
AUTOSUSPEND_USBID_BLACKLIST="091e:0003"
=== UDEV Regeln ===
'' vi /etc/udev/rules.d/51-garmin.rules''
ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", MODE="660", GROUP="garmin"
=== Garmin Communicator Plugin for Linux aka. Garmin Fake Plugin ===
Dieses Kapitel ist veraltet!\\
Seit Firefox Version 52.0 können NPAPI basierte Plugins [[https://www.golem.de/news/mozilla-firefox-52-macht-fast-schluss-mit-npapi-plugins-1703-126532.html|nicht mehr]] ausgeführt werden. Damit ist die Verwendung des [[http://www.andreas-diesner.de/garminplugin/doku.php?id=start|Garmin Communicator Plugins]] von Andreas Diesner nicht mehr möglich.\\
Vielen Dank an Andreas für diese Informationen.
\\
''vi ~/.config/garminplugin/garminplugin.xml''
Home Directory /home//PFAD/ZU/GeoCaching/GPX-Files
/home//PFAD/ZU/GeoCaching/GPX-Files
cp %1 /media/GARMIN/Garmin/
Garmin eTrex Vista HCx
/home//PFAD/ZU/GeoCaching/GPX-Files
gpsbabel -i gpx -f %1 -o garmin -F usb:
==== GPX Dateien manuell an ein Garmin eTrex Vista HCX übertragen ====
=== einzeln - per Komandozeile ===
gpsbabel -i gpx -f FILE.gpx -o garmin -F usb:
oder einen Track übertragen
gpsbabel -t -i gpx -f Track.gpx -o garmin -F usb:
=== oder Stapelweise - per Script ===
Alle zu übertragenden GPX-Dateien müssen in dem als Parameter angegebenen Verzeichnis liegen und die Endung *.gpx haben.
./gpx_to_etrex_vista_hcx.sh
#!/bin/bash
#
#
# clear all ised variables
FILE=""
FILEENDING="gpx"
INPUTFOLDER=""
# main script:
if [ -z "$1" ]; then
echo "Error"
exit 1
else
INPUTFOLDER="$1"
echo "verwende Ordner: $INPUTFOLDER"
fi
if [ -e $INPUTFOLDER ]; then
cd $INPUTFOLDER
#ls -lah
else
echo "Ordner $INPUTFOLDER existiert nicht!"
fi
for FILE in *.$FILEENDING
do
echo -n "übertrage GPX Datei: $FILE ..."
gpsbabel -i gpx -f $FILE -o garmin -F usb:
if [ $? -ne 0 ]; then
echo "Fehler aufgetreten!"
else
echo " ok"
fi
done