diff --git a/gpxsee.pro b/gpxsee.pro
index 3046bab0..74570a51 100644
--- a/gpxsee.pro
+++ b/gpxsee.pro
@@ -459,7 +459,8 @@ win32 {
icons/formats/map.ico \
icons/formats/mbts.ico \
icons/formats/rmap.ico \
- icons/formats/tba.ico
+ icons/formats/tba.ico \
+ icons/formats/kmz.ico
DEFINES += _USE_MATH_DEFINES \
NOGDI
}
diff --git a/icons/formats/kmz.ico b/icons/formats/kmz.ico
new file mode 100644
index 00000000..9a0915f3
Binary files /dev/null and b/icons/formats/kmz.ico differ
diff --git a/icons/formats/scripts/extensions b/icons/formats/scripts/extensions
index 5a83c196..ffe90fe0 100644
--- a/icons/formats/scripts/extensions
+++ b/icons/formats/scripts/extensions
@@ -20,3 +20,4 @@ map:#f6ff00
mbts:#ff0062
rmap:#145cba
tba:#367050
+kmz:#a14e00
diff --git a/pkg/gpxsee.desktop b/pkg/gpxsee.desktop
index dd49c172..936ed7f7 100644
--- a/pkg/gpxsee.desktop
+++ b/pkg/gpxsee.desktop
@@ -15,4 +15,4 @@ Icon=gpxsee
Terminal=false
Type=Application
Categories=Graphics;Viewer;Education;Geography;Maps;Sports;Qt;
-MimeType=application/gpx+xml;application/vnd.garmin.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/vnd.groundspeak.loc+xml;application/vnd.sigma.slf+xml;application/geo+json;application/vnd.naviter.seeyou.cup;application/vnd.garmin.gpi;application/vnd.suunto.sml+xml;image/jpeg;text/csv;application/vnd.garmin.img;application/vnd.garmin.jnx;application/vnd.garmin.gmap+xml;image/vnd.maptech.kap;application/vnd.oziexplorer.map;application/vnd.mapbox.mbtiles;application/vnd.twonav.rmap;application/vnd.trekbuddy.tba;application/vnd.gpxsee.map+xml;application/x-tar;image/tiff;
+MimeType=application/gpx+xml;application/vnd.garmin.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/vnd.groundspeak.loc+xml;application/vnd.sigma.slf+xml;application/geo+json;application/vnd.naviter.seeyou.cup;application/vnd.garmin.gpi;application/vnd.suunto.sml+xml;image/jpeg;text/csv;application/vnd.garmin.img;application/vnd.garmin.jnx;application/vnd.garmin.gmap+xml;image/vnd.maptech.kap;application/vnd.oziexplorer.map;application/vnd.mapbox.mbtiles;application/vnd.twonav.rmap;application/vnd.trekbuddy.tba;application/vnd.gpxsee.map+xml;application/x-tar;image/tiff;application/vnd.google-earth.kmz;
diff --git a/pkg/gpxsee.nsi b/pkg/gpxsee.nsi
index f60ba81c..c4c323c0 100644
--- a/pkg/gpxsee.nsi
+++ b/pkg/gpxsee.nsi
@@ -110,13 +110,13 @@ Section "GPXSee" SEC_APP
; Associate file formats
DetailPrint "Associating file types..."
!insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 11
- !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 16
- !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 17
- !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 18
- !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 19
- !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 20
- !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 21
- !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 22
+ !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 17
+ !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 18
+ !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 19
+ !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 20
+ !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 21
+ !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 22
+ !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 23
!insertmacro FILE_ASSOCIATION_ADD "wpt" "OziExplorer Waypoint File" 1
!insertmacro FILE_ASSOCIATION_ADD "loc" "Geocaching.com Waypoint File" 2
!insertmacro FILE_ASSOCIATION_ADD "slf" "Sigma Log File" 3
@@ -131,6 +131,7 @@ Section "GPXSee" SEC_APP
!insertmacro FILE_ASSOCIATION_ADD "mbtiles" "MBTiles Map File" 13
!insertmacro FILE_ASSOCIATION_ADD "rmap" "TwoNav Raster Map File" 14
!insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15
+ !insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 16
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
@@ -163,7 +164,8 @@ Section "GPXSee" SEC_APP
WriteRegStr HKCR ".tba\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".tif\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".tiff\OpenWithList" "GPXSee.exe" ""
- WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
+ WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
+ WriteRegStr HKCR ".kmz\OpenWithList" "GPXSee.exe" ""
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
@@ -274,6 +276,7 @@ Section "Uninstall"
!insertmacro FILE_ASSOCIATION_REMOVE "mbtiles"
!insertmacro FILE_ASSOCIATION_REMOVE "rmap"
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
+ !insertmacro FILE_ASSOCIATION_REMOVE "kmz"
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
@@ -306,6 +309,7 @@ Section "Uninstall"
DeleteRegValue HKCR ".tif\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tiff\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".xml\OpenWithList" "GPXSee.exe"
+ DeleteRegValue HKCR ".kmz\OpenWithList" "GPXSee.exe"
DeleteRegKey HKCR "Applications\GPXSee.exe"
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
@@ -338,4 +342,4 @@ LangString DESC_LOCALIZATION ${LANG_ENGLISH} \
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC)
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_APP} $(DESC_APP)
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_LOCALIZATION} $(DESC_LOCALIZATION)
-!insertmacro MUI_FUNCTION_DESCRIPTION_END
\ No newline at end of file
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
diff --git a/pkg/gpxsee.xml b/pkg/gpxsee.xml
index b6324e26..99c09134 100644
--- a/pkg/gpxsee.xml
+++ b/pkg/gpxsee.xml
@@ -213,4 +213,11 @@
+
+ KML geographic compressed data
+
+
+
+
+
diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi
index 1ecc56f7..6834b9da 100644
--- a/pkg/gpxsee64.nsi
+++ b/pkg/gpxsee64.nsi
@@ -117,13 +117,13 @@ Section "GPXSee" SEC_APP
; Associate file formats
DetailPrint "Associating file types..."
!insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 11
- !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 16
- !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 17
- !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 18
- !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 19
- !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 20
- !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 21
- !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 22
+ !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 17
+ !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 18
+ !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 19
+ !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 20
+ !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 21
+ !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 22
+ !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 23
!insertmacro FILE_ASSOCIATION_ADD "wpt" "OziExplorer Waypoint File" 1
!insertmacro FILE_ASSOCIATION_ADD "loc" "Geocaching.com Waypoint File" 2
!insertmacro FILE_ASSOCIATION_ADD "slf" "Sigma Log File" 3
@@ -137,7 +137,8 @@ Section "GPXSee" SEC_APP
!insertmacro FILE_ASSOCIATION_ADD "map" "OziExplorer Map File" 12
!insertmacro FILE_ASSOCIATION_ADD "mbtiles" "MBTiles Map File" 13
!insertmacro FILE_ASSOCIATION_ADD "rmap" "TwoNav Raster Map File" 14
- !insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15
+ !insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15
+ !insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 16
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
@@ -171,6 +172,7 @@ Section "GPXSee" SEC_APP
WriteRegStr HKCR ".tif\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".tiff\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
+ WriteRegStr HKCR ".kmz\OpenWithList" "GPXSee.exe" ""
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
@@ -282,6 +284,7 @@ Section "Uninstall"
!insertmacro FILE_ASSOCIATION_REMOVE "mbtiles"
!insertmacro FILE_ASSOCIATION_REMOVE "rmap"
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
+ !insertmacro FILE_ASSOCIATION_REMOVE "kmz"
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
@@ -314,6 +317,7 @@ Section "Uninstall"
DeleteRegValue HKCR ".tif\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tiff\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".xml\OpenWithList" "GPXSee.exe"
+ DeleteRegValue HKCR ".kmz\OpenWithList" "GPXSee.exe"
DeleteRegKey HKCR "Applications\GPXSee.exe"
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'