Skip to main content

Generate KML with fastkml for collective.geo

Project description

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

collective.geo.fastkml replaces the template based generation of
collective.geo.kml_ with the objectoriented approch of fastkml_

collective.geo.fastkml does support Polygons and MultiPolygons with holes.
Depending how many holes your polygons have it may take longer to generate
you KML file with collective.geo.fastkml (as collective.geo.kml_ ignores
the holes). Generally collective.geo.fastkml is slightly faster than
collective.geo.kml_ and produces smaller files.

The style for polygons is created from the linestyle and polygonstyle so
polygons can have an outline that is diffrent from the polygon fill style

collective.geo.fastkml does not have an interface of its own, it just
overrides the kml-document view of collective.geo.kml.

Installation
============

Add ``collective.geo.fastkml`` to the list of eggs to install, e.g.

::

[buildout]
...
eggs =
...
collective.geo.fastkml

Re-run buildout, e.g. with

::

$ ./bin/buildout

Restart Plone and activate the product in Plones Add-on configuration
section.

.. _fastkml: https://github.com/cleder/fastkml
.. _collective.geo.kml: https://github.com/collective/collective.geo.kml

Changelog
=========

0.3 (2013/09/05)
----------------

- Output KML in UTF-8, without XML character encoding (Denis Krienbuehl)
- The "kml:" prefix may no be supressed if the view is called as follows:
.../@@kml-document?suppress-kml-prefix (Denis Krienbuehl)

0.2 (2012/07/27)
-----------------
be sure to update fastkml as well,
this removes the dependency on shapely

- for folders and topics: do only add the feature if it has a geometry
- faster placemark generation for folders
- add Atom:Author to kml
- add preview image to description
- add i18n support (Maarten Kling)


0.1 (2012/06/29)
-------------------

- 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.fastkml-0.3.tar.gz (8.3 kB view hashes)

Uploaded Source

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