collective.geo.file 0.6

An openlayers view for KML and GPX files
collective.geo.file is a Plone product that provides a view for KML (Keyhole Markup Language) and GPX (GPS eXchange Format) files. The view renders the file in a openlayers Map using the collective.geo library.

The product does not introduce a content type but adds an additional view to the Archetypes file and collection type.

When you upload a KML file with the correct mimetype 'application/vnd.google-earth.kml+xml' (i.e with the extension *.kml) or 'application/gpx+xml' (i.e. with the extension *.gpx) the map view will be applied by default.

For Collections an additional view is added that displays all KML and GPX files returned by the query as a layer. Choose 'KML File Map View' from the display menue of the topic.

You have to register the mimetype 'application/gpx+xml' manually in the Plone MimeTypes Registry:

    # In the ZMI, go to the root of your Plone site.
    # Go into the mimetypes_registry
    # At the top of that sreen is a button to Add a New MIME type. Click that.
    # In the resulting screen, complete that form.
    # In name, enter 'GPS eXchange Format'.
    # Check 'Binary?'.
    # In mime-type, enter: 'application/gpx+xml'.
    # In Extensions, enter: 'gpx'.
    # In Globs, enter: '*.gpx'.

last updated on:
June 25th, 2012, 15:57 GMT
price:
FREE!
homepage:
plone.org
license type:
GPL (GNU General Public License) 
developed by:
Chritian Ledermann
category:
ROOT \ Internet \ Plone Extensions
collective.geo.file
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in This Release:
  • override the adapter from collective.geo.kml.browser for maplayers
  • add support for folders and new style collections
  • remove the kmlfiletopic_view view
  • add caching rules
read full changelog

Add your review!

SUBMIT