Hi everybody,
i just started using mapnik. The first tries went all well, and I'm quite
happy. But now I want to to some more specific drawings. All parking lots
are supposed to be drawn in color A, but all multi-story parking lots are
supposed to be drawn in color B.
So far the parking lots are drawn like this (making all of them the same
color):
<Rule>
<Filter>[amenity] = 'parking'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#f7efb7</CssParameter>
</PolygonSymbolizer>
</Rule>
So my first guess was this:
<Rule>
<Filter>[amenity] = 'parking' and not [parking] =
'multi-storey'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#f7efb7</CssParameter>
</PolygonSymbolizer>
</Rule>
<Rule>
<Filter>[amenity] = 'parking' and [parking] = 'multi-storey'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#000</CssParameter>
</PolygonSymbolizer>
</Rule>
Only mapnik throws a runtime error: "column 'parking' does not exist".
Apparently I have to read the column 'parking' into the memory somewhere.
I'm just not sure how to manage that. (so far I just made some minor
changes, like deleting a couple of layers and changing colors. So I'm not
into the method of operation of mapnik all that well.)
Any help would be appreciated.
Greets, Mats
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users