Hello,

i tried to display a country in a different color based on the example at:

http://trac.mapnik.org/wiki/XMLGettingStarted

I tried applying a different color for some countries:

      <Filter>[POP2005] &gt; 60000</Filter>
      <PolygonSymbolizer>
        <CssParameter name="fill">#ffcfc9</CssParameter>
      </PolygonSymbolizer>

This should match for nearly every country, but the color shown is not what
i expect.

I'm not sure what's wrong, if POP2005 is contained in the this source:
<Parameter name = 
"file">/usr/share/mapnik/world_boundaries/shoreline_300</Parameter>

Also, a filter like [name]='Germany' would be great, but i'm not sure how
to formulate it (use 'name'?  Or 'country'?  Or something different?
Match it to 'Germany'?  Or 'Deutschland'?)


Can anybody give me a hint on how to proceed best or how to
formulate the filters / rules?



Is there a data source available somewhere that also contains the
federal parts of Germany?


Best regards,
Torsten.


> Hello,
>
> i'd like to render a map of Germany, is it possible to make the other
> countrys a bit darker so i can see what part is Germany?
>
> Is it maybe also possible to get the polygons for the single federal parts
> and assign some colors to them?
>
> That would make a really nice map to print out on a poster.
>
>
> Thanks for any hints,
> Torsten.
>
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to