[Marble-devel] Review Request: add application/x-gpx+xml & application/x-esri-shape to the mime-type database

Friedrich W. H. Kossebau kossebau at kde.org
Sun Oct 21 13:28:02 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106977/
-----------------------------------------------------------

Review request for Marble.


Description
-------

This patch installs an extension of the mimetype database for both file types.

This way such files get a nicer display in the file dialogs/managers and can also finally be bound to the Marble program by the mimetype ids.

Still to do after this patch:
* add the application/x-esri-shape to the mimetype listing in marble.desktop in case the shapefile plugin is built&installed.
* have the view zoom to the loaded shape/track

Patch additionally installs a mimetype for the Esri shapefile index, so this file at least looks better in the filemanager.
Mimetype is made up by me. Not sure if this is useful, could also remove this from the patch if you prefer. For that reason I have also not yet added entries for the two other additional file types with shapefiles.

PS: Request coming live from Torsten's Marble presentation :)


Diffs
-----

  CMakeLists.txt 7f8777e 
  data/CMakeLists.txt 316d005 
  data/mimetypes/XmlMessages.sh PRE-CREATION 
  data/mimetypes/geo.xml PRE-CREATION 

Diff: http://git.reviewboard.kde.org/r/106977/diff/


Testing
-------

Clicking an gpx file starts Marble and loads the file.


Thanks,

Friedrich W. H. Kossebau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20121021/a174d570/attachment.html>


More information about the Marble-devel mailing list