diff --git a/README.md b/README.md index 54898727..b4af30ea 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # GPXSee GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX, TCX, -KML, FIT, IGC, NMEA and OziExplorer files. +KML, FIT, IGC, NMEA, LOC and OziExplorer files. ## Features * User-definable online maps (OSM/Google tiles, WMTS, WMS). @@ -11,7 +11,7 @@ KML, FIT, IGC, NMEA and OziExplorer files. * Print/export to PDF. * Full-screen mode. * Native GUI for Windows, Mac OS X and Linux. -* Opens GPX, TCX, FIT, KML, IGC, NMEA, OziExplorer (PLT, RTE, WPT) and Garmin CSV files. +* Opens GPX, TCX, FIT, KML, IGC, NMEA, LOC, OziExplorer (PLT, RTE, WPT) and Garmin CSV files. ![GPXSee - Linux](https://a.fsdn.com/con/app/proj/gpxsee/screenshots/linux2.png) diff --git a/gpxsee.pro b/gpxsee.pro index 3e106777..9c6e56cf 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -275,7 +275,8 @@ macx { icons/nmea.icns \ icons/plt.icns \ icons/rte.icns \ - icons/wpt.icns + icons/wpt.icns \ + icons/loc.icns QMAKE_BUNDLE_DATA += LOCALE MAPS ICONS CSV } win32 { @@ -288,7 +289,8 @@ win32 { icons/nmea.ico \ icons/plt.ico \ icons/rte.ico \ - icons/wpt.ico + icons/wpt.ico \ + icons/loc.ico DEFINES += _USE_MATH_DEFINES } diff --git a/pkg/Info.plist b/pkg/Info.plist index f9416c94..896cdb65 100644 --- a/pkg/Info.plist +++ b/pkg/Info.plist @@ -67,6 +67,22 @@ CFBundleTypeRole Viewer + + CFBundleTypeExtensions + + loc + + CFBundleTypeMIMETypes + + application/loc+xml + + CFBundleTypeIconFile + icons/loc.icns + CFBundleTypeName + Geocaching.com Waypoint File + CFBundleTypeRole + Viewer + CFBundleTypeExtensions @@ -230,6 +246,27 @@ application/vnd.google-earth.kml+xml + + UTTypeIdentifier + com.geocaching.loc + UTTypeReferenceURL + https://www.geocaching.com + UTTypeDescription + Geocaching.com Waypoint File + UTTypeConformsTo + + public.xml + + UTTypeTagSpecification + + public.filename-extension + + loc + + public.mime-type + application/loc+xml + + UTTypeIdentifier com.thisisant.fit diff --git a/pkg/gpxsee.desktop b/pkg/gpxsee.desktop index adb1e65d..7a5b574c 100644 --- a/pkg/gpxsee.desktop +++ b/pkg/gpxsee.desktop @@ -11,4 +11,4 @@ Icon=gpxsee Terminal=false Type=Application Categories=Graphics;Viewer;Maps;Qt; -MimeType=application/gpx+xml;application/tcx+xml;application/vnd.ant.fit;application/vnd.google-earth.kml+xml;application/vnd.fai.igc;application/vnd.nmea.nmea;application/vnd.oziexplorer.plt;application/vnd.oziexplorer.rte;application/vnd.oziexplorer.wpt; +MimeType=application/gpx+xml;application/tcx+xml;application/vnd.ant.fit;application/vnd.google-earth.kml+xml;application/vnd.fai.igc;application/vnd.nmea.nmea;application/vnd.oziexplorer.plt;application/vnd.oziexplorer.rte;application/vnd.oziexplorer.wpt;application/loc+xml; diff --git a/pkg/gpxsee.nsi b/pkg/gpxsee.nsi index d0557782..db6b3bd9 100644 --- a/pkg/gpxsee.nsi +++ b/pkg/gpxsee.nsi @@ -42,6 +42,7 @@ InstallDirRegKey HKLM "Software\GPXSee" "Install_Dir" !define REGPLT "GPXSee.plt" !define REGRTE "GPXSee.rte" !define REGWPT "GPXSee.wpt" +!define REGLOC "GPXSee.loc" ; Start menu page configuration !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM" @@ -150,6 +151,10 @@ Section "GPXSee" SEC_APP WriteRegStr HKCR "${REGWPT}" "" "OziExplorer Waypoint File" WriteRegStr HKCR "${REGWPT}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,1" WriteRegStr HKCR "${REGWPT}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" + WriteRegStr HKCR ".loc" "" "${REGLOC}" + WriteRegStr HKCR "${REGLOC}" "" "Geocaching.com Waypoint File" + WriteRegStr HKCR "${REGLOC}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,10" + WriteRegStr HKCR "${REGLOC}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' @@ -285,6 +290,8 @@ Section "Uninstall" DeleteRegKey HKCR ".rte" DeleteRegKey HKCR "${REGWPT}" DeleteRegKey HKCR ".wpt" + DeleteRegKey HKCR "${REGLOC}" + DeleteRegKey HKCR ".loc" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd diff --git a/pkg/gpxsee.xml b/pkg/gpxsee.xml index ad8d2dbb..38b52994 100644 --- a/pkg/gpxsee.xml +++ b/pkg/gpxsee.xml @@ -22,6 +22,13 @@ + + Geocaching.com Waypoint File + + + + + Flexible and Interoperable Data Transfer diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi index ec177d35..9c0f2dd3 100644 --- a/pkg/gpxsee64.nsi +++ b/pkg/gpxsee64.nsi @@ -42,6 +42,7 @@ InstallDirRegKey HKLM "Software\GPXSee" "Install_Dir" !define REGPLT "GPXSee.plt" !define REGRTE "GPXSee.rte" !define REGWPT "GPXSee.wpt" +!define REGLOC "GPXSee.loc" ; Start menu page configuration !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM" @@ -157,6 +158,10 @@ Section "GPXSee" SEC_APP WriteRegStr HKCR "${REGWPT}" "" "OziExplorer Waypoint File" WriteRegStr HKCR "${REGWPT}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,1" WriteRegStr HKCR "${REGWPT}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" + WriteRegStr HKCR ".loc" "" "${REGLOC}" + WriteRegStr HKCR "${REGLOC}" "" "Geocaching.com Waypoint File" + WriteRegStr HKCR "${REGLOC}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,10" + WriteRegStr HKCR "${REGLOC}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' @@ -288,6 +293,8 @@ Section "Uninstall" DeleteRegKey HKCR ".rte" DeleteRegKey HKCR "${REGWPT}" DeleteRegKey HKCR ".wpt" + DeleteRegKey HKCR "${REGLOC}" + DeleteRegKey HKCR ".loc" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd