Beschreibung - Dario`s ONE-MAN-LIVE-SOUND-ORCHESTRA

Transcrição

Beschreibung - Dario`s ONE-MAN-LIVE-SOUND-ORCHESTRA
Deutsch (English text see below)
Einschränkung
Im Moment ist nur die Funktion zur Erzeugung der CSV-Dateien für NAVIGON ab MN7.6.3 sowie
den POIWarner aktiviert. Die weiter beschriebenen Exporte für FALK und POIObserver sind nicht
aktiviert.
Einleitung
Zum Geocaching existieren hauptsächlich POI Export Tools für Outdoor Geräte aber weniger für
Fahrzeug Navigatoren. Nicht alle Fahrzeug Navigatoren unterstützen aber den Import von eigenen
POI’s. So hat beispielsweise NAVIGON bis MN6 das Drittanbieter Tool POIWarner unterstützt, mit
dem man eigene POIs in den Karten anzeigen lassen konnte, ab MN7 wird keine Schnittstelle für
Drittanbieter mehr frei gegeben. Ab MN7 Version 7.6.x ist der Import von eigenen POIs durch eine
eigene Funktion im NAVIGON wieder möglich bzw. auch mit dem Einsatz des POIWarner können
eigene POIs auf’s Navi zur Anzeige in der Karte kopiert werden. Zurzeit besitze ein NAVIGON 70
Premium mit installiertem POIWarner4. Der FALK Navigator F10/F12 wird nächstes ausser Betrieb
genommen. Der Hauptunterschied zu anderen Tools besteht auch darin, dass Cache Typen und
andere Optionen direkt im GUI dieses Makro selektiert werden können ohne vorher eigene Filter
definierten zu müssen. Vor dem Programmstart können eigene Filter definiert werden als Grundlage
für die weitere Filterung im Makro. Deshalb habe ich ein Makro geschrieben, dass je nach
selektierten Cache-Typen KML-, CSV- oder TXT-Dateien aufbereitet, welches mit den
entsprechenden Tools eingelesen werden können.
Das Makro unterstützt folgende Formate:
• CSV – zum Import in NAVIGON Navis mit MN7 ab Version 7.6.3
• CSV – zum Import in den POIWarner (u.a. für NAVIGON Navigatoren u.v.a.)
(siehe www.navigating.de)
• KML – zum Import in FALK Navigatoren (ab FN7 – FN11)
• ASC – zur Herstellung einer OBS-Datei für den POIObserver
(siehe www.navifriends.com)
• TXT – Exportiert eine CSV Text Datei (in Vorbereitung, noch nicht fertig implementiert)
Falls das Zielgerät oder die Zielapplikation Bitmaps und Sound-Dateien unterstützt werden sie
soweit möglich mit angelegt, so dass diese mitkopiert werden können.
Die Sprache der Felder und Texte kann zwischen Deutsch nach Englisch umgeschaltet werden.
Es gibt weitere Programme mit welchen viele Formate eingelesen und konvertiert in andere
Formate abgespeichert werden können. Eines davon möchte ich hier noch erwähen mit dem zum
einten die Wegpunkte in Google-Maps angezeigt, Routen berechnet und viele Konvertierungen
durchgeführt werden können:
Routeconverter
www.routeconverter.de
Also kann man die Ausgangs-Dateien vom POIWarner oder eine CSV-Datei im Routeconverter
einlesen und konvertiert in andere Formate (z.B. TomTom, Garmin u.v.a.) wieder exportieren,
womit es wenig Sinn macht unendlich viele unterschiedliche Ausgabe Formate in diesem Makro
auszuprogrammieren.
Beschreibung:
Eingabe Formular:
Generell
Beim Start des Makros werden die zuletzt gespeicherten Auswahlen und Optionen eingelesen und
die Anzahl der Caches anhand der Auswahl gezählt. Falls keine gespeicherte Auswahl-Datei
gefunden werden kann, werden Standard-Werte eingesetzt gleich wie beim Drücken der
Schaltfläche Zurücksetzen. Bei jeder Veränderung der Cache-Auswahl bzw. der Optionen kann
sich die hinter den Caches bzw. Optionen angezeigte Anzahl der Caches verändern. Hat man die
Auswahl getroffen und startet man die Aufbereitung der Export-Dateien mit OK, werden die
getroffenen Auswahlen in den entsprechenden Export Unterverzeichnissen angelegt. Die zuletzt
getroffenen Einstellungen werden gespeichert, können aber mittels Speichern Knopf individuell
gespeichert und wieder hergestellt werden. Auch auf Standard Einstellungen kann zurückgesetzt
werden.
Die exportierten Dateien befinden sich in Unterverzeichnissen gemäss dem ausgewählten Export
Format und dem definierten Zielordner:
POIWarner CSV:
POIWarner CSV:
Falk KML:
POIObserver ASC:
…\Car-POIs\POIWarner
…\Car-POIs\NAVIGON
…\Car-POIs\FALK
…\Car-POIs\POIObserver
Beachte, dass beim Verlassen des Makros mit der CANCEL oder X Schaltfläche keine
Einstellungen gespeichert werden.
Datenbank / Filter
Datenbank
Auswahl einer GSAK Datenbank
Filter
Auswahl eines vordefinierten GSAK Filters
Format
Auswahl des Ausgabe Formats
Nach
Definition des Zielordners
Icon Grösse
Für NAVIGON und POIWarner stehen 2 Icon Grössen zur Verfügung
Felder
Es können eigene Felder zusammengestellt werden. Eintragbar sind:
@code@
Cache Code
@name@
Cache Name
@typ@
Cache Typ ausgeschrieben
@typ1@
Cache Type 1 Buchstabe (gem. GSAK Standard)
@con@
Cache Behälter ausgeschrieben
@con1@
Cache Behälter 1 Buchstabenkürzel (gem. GSAK Standard)
@dif@
Schwierigkeitsstufe
@ter@
Terrain
@datepl@ Datum des Auslegens
@ownername@
Name des Besitzers
Jeder weiterer Text wird 1:1 in die Export Datei übernommen.
Export Text
Vorschau, was für Standard Felder in den Export Dateien erscheinen werden
Werden in „Felder“ eigene Felder definiert ist diese Vorschau nichtig.
Format Optionen
Wird das Format ‚POIObserver‘ ausgewählt, erscheint ein Unterformular wo weitere Optionen
eingestellt werden können:
WAV
Distanz
WAV welches beim Einblenden des POI abgespielt werden soll
Empfindlichkeit der POI Anzeige
Bemerkung: Wird beim WAV-Feld NONE ausgewählt wird keine WAV-Datei. Der POIObserver
spielt das Windows-Standard-WAV (Default.wav) ab wenn er keine zum Cache Eintrage zugehörige
WAV-Datei findet.
Cache Typen
Jeder Cache Typ kann einzeln selektiert und exportiert werden oder alle Cache Typen werden unter
einem Typ Geocache zusammengefasst. Bitte beachte dass je nach Navi Hersteller (z.B. bei FALK)
u.U. jeder POI Typ einzeln und manuell über das entsprechende Import Tools wieder geladen
werden muss. Ueberlege also gut wie viele Cache Typen Du aussuchen willst. Selektiere nur die
von Dir am häufigsten verwendeten Cache Typen und fasse wenn gewünscht die restlichen unter
der Kategorie Geocache mit der Funktion Erzeuge POI ‘Geocache ‘ mit allen nicht
ausgewählten Typen zusammen.
Schaltflächen
Alle
Keine
Zählen
Selektiert alle Cache Typen
Hebt die Selektion aller Cache Typen auf
Damit kann das Zählen alle Caches pro Typ neu berechnet werden.
Optionen
Verschiedene Optionen können noch eingestellt werden:
Benutze DB Name als Dateiname-Vorzeichen (z.B. DBName-CacheTypName.KML)
Setzt den DB Namen vor den Cache Type Name, Beispiele (DB Name ist CH):
Nur aktive
Nur aktive Caches werden exportiert, also keine temporär desaktivierten und keine archivierten
Füge auch meine gefundenen Caches hinzu
Exportiert alle von Dir gefundenen Caches mit. Beachte, dass wenn diese Funktion aktiviert wird,
die Option Erzeuge POI mit meinen gefundenen Caches deaktiviert wird, um zu vermeiden, dass
diese Caches doppelt im Navi erscheinen würden.
Füge auch meine platzierten Caches hinzu
Exportiert alle eigenen Caches mit.
Zusätzliche POIs
Erzeuge POI mit meinen gefundenen Caches
Exportiert eine eigene Kategorie mit den von Dir gefundenen Caches. Beachte, dass diese Option
deaktiviert wird sobald die Option Füge auch meine gefundenen Caches hinzu, da sie sonst
doppelt im Export auftauchen würden.
Erzeuge POI mit Parkplätzen ‘Park n’Cache‘
Exportiert eine eigene Kategorie ParknCache mit den Parkplätzen sofern sie als Child Waypoint in
den Caches erfasst sind.
Erzeuge POI mit Referenz Punkten
Exportiert eine eigene Kategorie Reference Points mit den Referenz Punkten sofern solche als
Child Waypoint in den Caches erfasst sind.
Erzeuge POI ‘Geocache‘ mit allen nicht ausgewählten Typen
Exportiert eine eigene Kategorie ’Geocache‘ in der alle oben nicht ausgewählten Cache Typen
zusammengefasst werden.
Schaltflächen
OK
Verlassen
Zurücksetzen
Speichern
Zurückholen
Startt den POI Export
Stoppt das Makro und kehrt in die GSAK DB zurück
Holt Standard Werte zurück
Speichert den Zustand aller Felder
Holt den gespeicherten Zustand der Felder zurück
Autostart
Es besteht auch die Möglichkeit das Makro aus einem anderen Makro zu starten und automatisch
mit den zuletzt gespeicherten Werten ablaufen zu lassen, wobei das Ausgabeformat übergeben
werden kann. Zuerst muss die Parameter Uebergabe Variable $_MacroParms mit den zu
übergebenden Werten gefüllt werden.
Macro Parameter Uebergabe Variable für Ausgabe Format:
FALK
POIWarner
POIObserver
$_MacroParms = "FALK"
$_MacroParms = "POIWARNER"
$_MacroParms "POIOBSERVER"
Makro Aufruf:
$strMacro = <MacroPfad> + "\Car_POIs.gsk"
MACRO File=$strMacro
HAFTUNGSAUSSCHLUSS
Das Makro wurde nach bestem Wissen und Gewissen programmiert. Der Gebrauch des
Makros geschieht ausdrücklich auf eigene Gefahr. Ich übernehme keine Haftung sollten sich
daraus irgendwelche Schäden an der GSAK DB oder an anderen Teilen oder Programmen
Deines Computers ergeben.
English (Die Beschreibung in Deutsch steht am Anfang)
Restriction
Actually only the exports for CSV-Files for NAVIGON Navigators and the POIWarner are
activated. Describe export files for FALK Navigators or POIObserver are not activated at the
moment.
Introduction
For geocaching mainly exist POI (Point of Interest) tools for outdoor GPS devices but fewer for car
navigators. Not all car navigators support the import of POI. NAVIGON, for example, supported the
third party tool POIWarner until Version MN6, but starting with MN7 the interface was closed
preventing third party tools to develop and show POIs on the chart. Starting with MN7 V7.6.3 it’s
possible to import own POIs to the Navigator. Also with POIWarner it’s possible to copy own POIs
to the Navigator for showing up them on the chart. The main difference to other tools is that cache
types and some other options can be selected directly in the GUI of the macro without the need to
setup own filtering before starting the macro. Of course own filters can be prior starting the macro
to take own filters as baseline. Actually I’m owner of a NAVIGON 70 Premium Navigator. I’ll take
my FALK F10/ F12 Navigators out of service soon. I’ve written this macro to export cache types to
KML-, CSV- or TXT-Files which can be imported to car navigators with the appropriate tools or
converted with other tools.
The macro supports initially following import formats:
• CSV – to import to NAVIGON Navigators with MN7 starting with Version 7.6.3
• CSV – to import to POIWarner (for NAVIGON Navigators and others)
(details see www.navigating.de)
• KML – to Import to FALK Navigators (from FN7 – FN11)
• ASC – to Import to POIWarner (for NAVIGON Navigators)
• ASC – to Setup an OBS-File for POIObserver
(details see www.navifriends.com)
• TXT – to Export a CSV text file (under construction, not yet available)
If the target device supports bitmaps and sounds the appropriate bitmap- and sound-files will be
created as far as possible to be able to copy them to the target device.
The language of fields and texts can be switched over from English to German.
There are further programs which can Import and Export man Waypoint formats. I’d like to mention
one of them: Routeconverter. Waypoints can be imported out of many formats, shown in google
maps, calculation routes and reexport to many formats.
Routeconverter
www.routeconverter.de
Using Routconverter you can use the export file oft he POIWarner or the CSV-File as base file to
import in Routeconverter and convert it to an other outpout format (Examples: TomTom, Garmin
a.m.m.). Therefore it does make not much sense to program out many more export formats in this
makro.
Description:
Input Form:
Generally
On starting the macro the last saved selections and options are restored and the caches are count
according selection of caches and options. If no save file is found default selection will be set same
as when pressing the button Default Values. Each selection of caches and/or options can change the
cache count behind the description. After having selected all cache types and options the export will
be started by pressing the button OK and the output is stored to the defined target directory. All
field selection are stored by pressing OK or Save Values. The last saved selections can be restored
using Button Restore Values. Also Default Values can be restored.
The import Files are in appropriate Subfolders according selected export format and defined target
folder:
POIWarner CSV:
POIWarner CSV:
Falk KML:
POIObserver ASC:
…\Car-POIs\POIWarner
…\Car-POIs\NAVIGON
…\Car-POIs\FALK
…\Car-POIs\POIObserver
Note that on leaving the macro using CANCEL or X Buttons, no fields are stored.
Database / Filter
Database
Filter
Format
To
Icon Size
Selection of a GSAK Database
Selection of a predefined GSAK Filter
Selection of the Output Format
Definition of the target folder
to be used for NAVIGON and POIWarner only
Felder
Own cache fields can be selected. Following fields are supported:
@code@
Cache Code
@name@
Cache Name
@typ@
Cache Type full
@typ1@
Cache Type 1 character (according GSAK Standard)
@con@
Cache Container full
@con1@
Cache Containter 1 character (according GSAK Standard)
@dif@
Diffictulty
@ter@
Terrain
@datepl@ Placement date
@ownername@
Owner Name
Further text and characters are taken 1:1 into the export file.
Export String
Preview of the default fields
If any custom fields are entered in “Fields” the preview is not valid anymore.
Format Optionen
On selecting the format ‚POIObserver‘ an Subform pops up where more options can be selected.
WAV
Distance
WAV which will be played on popping up the POI
Distance to pop up the POI
Note: On selecting NONE within the WAV-Field no WAV-File will be created. POIObserver will
play Windows-Standard-WAV (Default.wav) if no WAV-File belonging to the Cache Type is found.
Cache Types
Any of actually known cache types can be exported individually or all cache types can be exported
inside a general cache type ‘Geocaching’. Consider that according of the used navigator device any
of the exported cache type could to be imported to the navigator manually and individually.
Therefore limit your selection to some of the most needed cache types and use the Option
Additional POIs to create the general type UGeocache for all cache types not checked here above.
Buttons
All
None
ReCount
Checks all cache types
Unchecks all cache types
Recout all caches
Options
Some more options can be selected:
Use DB Name as Filename prefix (e.g. DBName-CacheTypeName.KML)
Sets the DB Name before the Cache Type, examples (DB Name is CH):
Only active
Select only active caches; no disabled and no archived caches are included
Include also caches found by me
Includes caches found by you. Note that the selection of this option will disable the selection
Create POI with my found caches preventing double view of caches in the Navigator.
Include also caches placed by me
Includes caches placed by you.
Additional POIs
Create POI with my found caches
Creates an own category MyFound including all found caches. This option will be disabled when
the Option Include also caches found by me is selected, preventing double view of caches within
the navigator.
Create POI with Parking Areas (Park n’Cache)
Creates a category ParknCache only if parking areas is defined as Child Waypoint.
Create POI with Reference Points
Creates a category Reference-Point only if Reference Points are definded as Child Waypoint.
Create POI ‘Geocache’ for types not checked above
Creates a category Geocache including all cache types not selected above.
Autostart
The macro can be called out of another macro and it starts with the last saved options. The output
format can be passed by using the variable $_MacroParms.
Passing output format to macro parameters variable:
FALK
POIWarner
POIObserver
$_MacroParms = "FALK"
$_MacroParms = "POIWARNER"
$_MacroParms "POIOBSERVER"
Macro call:
$strMacro = <MacroPath> + "\Car_POIs.gsk"
MACRO File=$strMacro
DISCLAIMER
I programmed the macro as with my best intent and knowledge. You use the macro under
your own risk. I’ll take no responsibility for any data damage in the GSAK DB or damage on
any other parts or software on your Computer.
Future Ideas:
• customizing output fields to export

Documentos relacionados