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
============
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.geo.fastkml-0.3.tar.gz
.
File metadata
- Download URL: collective.geo.fastkml-0.3.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7697d6a29d7d41ea9f0c24243fca797d5ec7a8c1695aa17d9b28282740ffbb8 |
|
MD5 | 23ef35191be797985e5825c6c58f5bdd |
|
BLAKE2b-256 | 7449264bf84bb8ab861c025c2b5fa255efcfb4370dabb2c25f1e8eca6422b492 |