]> git.street.me.uk Git - andy/viking.git/commit
A Mapnik Rendering layer
authorRob Norris <rw_norris@hotmail.com>
Sun, 14 Dec 2014 11:12:38 +0000 (11:12 +0000)
committerRob Norris <rw_norris@hotmail.com>
Tue, 27 Jan 2015 23:42:55 +0000 (23:42 +0000)
commit5fa4fe86691998e2d457ace4f7c208f2f5d940bf
treecbcb7465c60584c799644fd9941d12b4361feab3
parentc75da9362bd81685e096a4d7a854485a5738c470
A Mapnik Rendering layer

This uses the Mapnik C++ library to render images given an XML configuration file
 (which describes the datasources and how to render them).
The interfacing code is in C++, hence the need for a C++ compiler.
This has been primarily tested with Mapnik 2.2.0 but should work with other versions.

Images are generated at 256x256 pixels in an OSM Tileset manner and are stored directly in the memory map cache.

More complex configurations/datasources (e.g. the main OSM.org Mapnik Stylesheet)
 can make the rendering relatively slow - sometimes several seconds per tile.
For the first iteration this all happens in the main program thread,
 but will be addressed in subsequent commits.

All this can be disabled at the configure stage with '--disable-mapnik'
15 files changed:
configure.ac
po/POTFILES.in
src/Makefile.am
src/dialog.c
src/icons/Makefile.am
src/icons/vikmapniklayer.png [new file with mode: 0644]
src/mapnik_interface.cpp [new file with mode: 0644]
src/mapnik_interface.h [new file with mode: 0644]
src/modules.c
src/uibuilder.h
src/viking.h
src/viklayer.c
src/vikmapniklayer.c [new file with mode: 0644]
src/vikmapniklayer.h [new file with mode: 0644]
viking.spec.in