Skip to main content

An openlayers view for KML, KMZ and GPX files

Project description

Introduction
============

collective.geo.file provides a view for KML, KMZ (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 file with the
correct mimetype 'application/vnd.google-earth.kml+xml' (i.e with
the extension `*.kml`), 'application/vnd.google-earth.kmz' (extension
`*.kmz`)
or 'application/gpx+xml' (i.e. with the extension
`*.gpx`) the map view will be applied by default.

KML, KMZ and GPX files are displayed in the `KML Openlayers View` of
collections and Folders





Known Issues
============

If you assign coordinates to the file with the IGeoreferenceable Interface
you have to set the viewletmanager to 'Do not display map' otherwise
it will **REALLY** screw up your view. The coordinates assigned there
will display as the first layer on the 'Map View' of the file and
they will display in the 'KML File Map View' of a topic.

Changelog
=========

0.6 (2013/08/30)
----------------

- 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

0.5 (2013/02/13)
-----------------

- removed unused viewlet and manager, with the changes in c.g.kml to vectorlayers this is not used anymore
- remove extractgeometries, this now lives in c.g.xmlimport
- no more dependency on shapely

0.4 (2012/06/18)
----------------

- Add KML File extraction [nan]
- Add support for KMZ files [nan]

0.3 (2011/06/14)
-----------------

- Added support for Spanish localization [macagua]
- Added improvements about the Internationalization [macagua]
- zoom to the extent of the file data or if present the geo referenced coordinates
- add view for GPX files

0.2 (2011/05/20)
----------------

- remove i18n:registerTranslations directory


0.1 (2011/05/11)
-------------------

- Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.geo.file-0.6.tar.gz (12.3 kB view details)

Uploaded Source

File details

Details for the file collective.geo.file-0.6.tar.gz.

File metadata

File hashes

Hashes for collective.geo.file-0.6.tar.gz
Algorithm Hash digest
SHA256 998846aaa4e3abe8dfce5d40f14cf136ebd513a20a858b1395ccb3b60bc738b6
MD5 7acc1c77b2ea77b0252f7ad0173bb14b
BLAKE2b-256 425ff90e6808e6765020e7506b7107c8fa5e6b958313df80b504122a1c3d84de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page