Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:geocaching:uebersicht

GeoCaching

Nützliche Tools

Beispiel zur Umrechnung der verschiedenen Koordinatenformate
Koordinaten von und in andere Formate umrechnen inkl. Darstellung auf einer Karte: https://www.koordinaten-umrechner.de

Online GPX Tracks erstellen

Online GPX Tracks betrachten

Offlinekarten

Für c:geo sind *.map Dateien notwendig.

Für Garmin Oregon 450

Für OSMAND sind *.obf Dateien notwendig.

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.

download_fresh_osmand_maps.sh
#!/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

Konfigurationen

Notebook mit TLP

Damit der Garmin etrax nicht nach dem Anschließen an den USB-Port vom 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 nicht mehr ausgeführt werden. Damit ist die Verwendung des Garmin Communicator Plugins von Andreas Diesner nicht mehr möglich.
Vielen Dank an Andreas für diese Informationen.


vi ~/.config/garminplugin/garminplugin.xml <file xml garminplugin.xml> <?xml version=„1.0“ encoding=„UTF-8“ standalone=„no“ ?> <GarminPlugin logfile=„“ level=„ERROR“> <Devices> <Device> <Name>Home Directory /home/<USER>/PFAD/ZU/GeoCaching/GPX-Files</Name> <StoragePath>/home/<USER>/PFAD/ZU/GeoCaching/GPX-Files</StoragePath> <StorageCommand>cp %1 /media/GARMIN/Garmin/</StorageCommand> <FitnessDataPath></FitnessDataPath> </Device> <Device> <Name>Garmin eTrex Vista HCx</Name> <StoragePath>/home/<USER>/PFAD/ZU/GeoCaching/GPX-Files</StoragePath> <StorageCommand>gpsbabel -i gpx -f %1 -o garmin -F usb:</StorageCommand> <FitnessDataPath></FitnessDataPath> </Device> </Devices> <Settings> <ForerunnerTools enabled=„false“ /> </Settings> </GarminPlugin> </file>

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 <PFAD/ZU/GPX/DATEIEN>
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
wiki/geocaching/uebersicht.txt · Zuletzt geändert: 2021/05/08 13:49 von wikimaster