1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

GeoJSON integration, part 1

This commit is contained in:
Martin Tůma 2019-01-27 23:07:02 +01:00
parent 4b9f20a72f
commit d07adee931
6 changed files with 14 additions and 4 deletions

View File

@ -335,7 +335,8 @@ win32 {
icons/formats/rte.ico \ icons/formats/rte.ico \
icons/formats/wpt.ico \ icons/formats/wpt.ico \
icons/formats/loc.ico \ icons/formats/loc.ico \
icons/formats/slf.ico icons/formats/slf.ico \
icons/formats/json.ico
DEFINES += _USE_MATH_DEFINES DEFINES += _USE_MATH_DEFINES
} }

BIN
icons/formats/json.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

View File

@ -1,6 +1,7 @@
fit:#006600 fit:#006600
gpx:#003399 gpx:#003399
igc:#ff3300 igc:#ff3300
json:#003333
kml:#990000 kml:#990000
nmea:#0083d7 nmea:#0083d7
plt:#66ff00 plt:#66ff00

View File

@ -8,7 +8,7 @@
<summary>GPS log file viewer and analyzer</summary> <summary>GPS log file viewer and analyzer</summary>
<description> <description>
<p>GPXSee is a GPS log file viewer and analyzer that supports GPX, TCX, <p>GPXSee is a GPS log file viewer and analyzer that supports GPX, TCX,
KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files.</p> KML, FIT, IGC, NMEA, SLF, LOC, GeoJSON and OziExplorer files.</p>
<p>Features:</p> <p>Features:</p>
<ul> <ul>
@ -24,7 +24,7 @@
<li>Full-screen mode.</li> <li>Full-screen mode.</li>
<li>HiDPI/Retina displays &amp; maps support.</li> <li>HiDPI/Retina displays &amp; maps support.</li>
<li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT, <li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT,
WPT, RTE) and Garmin CSV files.</li> WPT, RTE), GeoJSON and Garmin CSV files.</li>
</ul> </ul>
</description> </description>
@ -66,5 +66,6 @@
<mimetype>application/vnd.oziexplorer.wpt</mimetype> <mimetype>application/vnd.oziexplorer.wpt</mimetype>
<mimetype>application/loc+xml</mimetype> <mimetype>application/loc+xml</mimetype>
<mimetype>application/slf+xml</mimetype> <mimetype>application/slf+xml</mimetype>
<mimetype>application/geo+json</mimetype>
</mimetypes> </mimetypes>
</component> </component>

View File

@ -11,4 +11,4 @@ Icon=gpxsee
Terminal=false Terminal=false
Type=Application Type=Application
Categories=Graphics;Viewer;Education;Geography;Maps;Sports;Qt; Categories=Graphics;Viewer;Education;Geography;Maps;Sports;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;application/loc+xml;application/slf+xml; 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;application/slf+xml;application/geo+json;

View File

@ -77,4 +77,11 @@
<generic-icon name="text-plain"/> <generic-icon name="text-plain"/>
<glob pattern="*.wpt"/> <glob pattern="*.wpt"/>
</mime-type> </mime-type>
<mime-type type="application/geo+json">
<comment>GeoJSON File</comment>
<sub-class-of type="text/plain"/>
<generic-icon name="text-plain"/>
<glob pattern="*.geojson"/>
</mime-type>
</mime-info> </mime-info>