[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] [PATCH] [v3][ocitysmap] Mapnik 2.1: update INSTALL
From: |
Thomas Petazzoni |
Subject: |
Re: [Maposmatic-dev] [PATCH] [v3][ocitysmap] Mapnik 2.1: update INSTALL and get rid of DeprecationWarning |
Date: |
Tue, 10 Apr 2012 20:31:20 +0200 |
Le Thu, 5 Apr 2012 08:39:06 +0200,
Jeroen van Rijn <address@hidden> a écrit :
> 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: address@hidden
> CC: address@hidden
> CC: address@hidden
> Tested-by: Jeroen van Rijn <address@hidden>
> Signed-off-by: Jeroen van Rijn <address@hidden>
Applied, thanks!
Thomas
--
Thomas Petazzoni http://thomas.enix.org
MapOSMatic http://www.maposmatic.org
Logiciels Libres à Toulouse http://www.toulibre.org
Embedded Linux http://www.free-electrons.com