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
https://github.com/cleder/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.

Changelog
=========

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.2.tar.gz (8.1 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