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 `*.km`l), 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.

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




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.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.5.tar.gz (13.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for collective.geo.file-0.5.tar.gz
Algorithm Hash digest
SHA256 e0f3de9798a285f5512e61f40b5d33b61429dfea21b750822e530230e7553ec6
MD5 fed604b87b111552d9b70cd4b84cde75
BLAKE2b-256 a889ab4cc785855b734e4d45e2f2bd3657d5f85baa336a6689802db9461db2bf

See more details on using hashes here.

Supported by

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