Le Wed, 11 Apr 2012 11:53:22 +0200, David MENTRE <[email protected]> a écrit :
> > "/home/maposmatic/maposmatic-dev/ocitysmap/ocitysmap2/maplib/map_canvas.py", > > line 100, in __init__ mapnik.load_map(self._map, stylesheet.path) > > RuntimeError: The following nodes or attributes were not processed > > while parsing the xml file: > > * node 'MaxScaleDenominator' in line 0 > > * node 'MaxScaleDenominator' in line 0 > > * node 'MaxScaleDenominator' in line 0 > > * node 'MaxScaleDenominator' in line 0 > > * node 'MaxScaleDenominator' in line 0 > > * node 'MaxScaleDenominator' in line 0 > > The issue is apparently in transportation-layer. Still > investigating... The curious thing is that we have a patch from Gaël applied on the MapQuest git repository on the server, which precisely modifies the transportation layer. Gaël's patch is attached... but the tests are running with this patch applied and still it doesn't seem to work (unless I'm doing something wrong, of course). 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
commit c72ad2936e64b98f0182118424c64539d7ea84f0 Author: Gael UTARD <[email protected]> Date: Fri Mar 30 19:22:43 2012 +0200 Fixed a mix-up between minscale and maxscale diff --git a/mapquest_inc/layer-transportation-eu.xml.inc b/mapquest_inc/layer-transportation-eu.xml.inc index efd7203..8784626 100755 --- a/mapquest_inc/layer-transportation-eu.xml.inc +++ b/mapquest_inc/layer-transportation-eu.xml.inc @@ -49,19 +49,19 @@ <Rule> <Filter>[aeroway] = 'runway'</Filter> &maxscale_zoom12; - &maxscale_zoom12; + &minscale_zoom12; <LineSymbolizer stroke="#b4b4b4" stroke-width="3"/> </Rule> <Rule> <Filter>[aeroway] = 'runway'</Filter> &maxscale_zoom13; - &maxscale_zoom14; + &minscale_zoom14; <LineSymbolizer stroke="#b4b4b4" stroke-width="5"/> </Rule> <Rule> <Filter>[aeroway] = 'runway'</Filter> &maxscale_zoom15; - &maxscale_zoom16; + &minscale_zoom16; <LineSymbolizer stroke="#b4b4b4" stroke-width="15"/> </Rule> <Rule> @@ -72,19 +72,19 @@ <Rule> <Filter>[aeroway] = 'taxiway'</Filter> &maxscale_zoom12; - &maxscale_zoom12; + &minscale_zoom12; <LineSymbolizer stroke="#b4b4b4" stroke-width="1"/> </Rule> <Rule> <Filter>[aeroway] = 'taxiway'</Filter> &maxscale_zoom13; - &maxscale_zoom14; + &minscale_zoom14; <LineSymbolizer stroke="#b4b4b4" stroke-width="2"/> </Rule> <Rule> <Filter>[aeroway] = 'taxiway'</Filter> &maxscale_zoom15; - &maxscale_zoom16; + &minscale_zoom16; <LineSymbolizer stroke="#b4b4b4" stroke-width="5"/> </Rule> <Rule>
