ocitysmap/ocitysmap2/maplib
Jeroen van Rijn 61dca51842 Mapnik 2.1: update INSTALL and get rid of DeprecationWarning
As of mapnik commit 14700dba16146902ca98fdcacb72b2fba4fa596a,
using 'import mapnik2' raises a DeprecationWarning.
See https://github.com/mapnik/mapnik/issues/941 for details.

Update imports of the mapnik module to use 'import mapnik' and assert
that the installed version is new enough.

We need mapnik 2.1.0 (or at least a version newer than 2.0.0
that supports placement-type="simple") for the Printable Stylesheet,
as per David's suggestion. Thomas pointed out that having the note
in all files was overkill, this patch takes that into account.

Also update INSTALL with instructions on how to build Mapnik from Git
and which specifically tested commit to use if the latest version
doesn't work.

CC: thomas.petazzoni@enix.org
CC: dmentre@linux-france.org
CC: maxime.petazzoni@bulix.org
Tested-by: Jeroen van Rijn <jvrnix@gmail.com>
Signed-off-by: Jeroen van Rijn <jvrnix@gmail.com>
2012-04-10 20:31:09 +02:00
..
__init__.py Major reorganization, new maplib/indexlib/layoutlib hierarchy 2010-09-11 12:31:08 +02:00
grid.py Set grid size to 40 mm +/- 33% 2012-03-31 18:45:52 +02:00
map_canvas.py Mapnik 2.1: update INSTALL and get rid of DeprecationWarning 2012-04-10 20:31:09 +02:00
overview_grid.py fix comments, add copyright notice, multipage: fix page numbers 2012-03-31 15:47:05 +02:00
shapes.py Add an overview page in the multi-page renderer. 2012-03-30 23:53:36 +02:00