kopia lustrzana https://github.com/hholzgra/ocitysmap
				
				
				
			
				
					
						
							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>  | 
			||
|---|---|---|
| .. | ||
| __init__.py | ||
| grid.py | ||
| map_canvas.py | ||
| overview_grid.py | ||
| shapes.py | ||