[OSM-talk] rendering of areas with patterns

Ulf Mehlig ulf.mehlig at gmx.net
Wed Nov 19 16:56:49 GMT 2008


I've a (slightly off-topic) question regarding rendering of areas with
background patterns in mapnik/osmarender. For example,
Tag:landuse=cemetery has such a (regular) background pattern. However, I
would like to render "natural"-type areas, looking perhaps like this:

        http://wiki.openstreetmap.org/wiki/Image:Wetland_symbols.png
        
For these types, more irregularly spaced patterns would be preferable,
and it would be great if e.g. tree symbols would not get clipped at the
area borders. 

My questions: does somebody have experience with preparing background
patterns for "natural" area types, like woods, wetlands etc.? How do I
prepare/tailor the bitmap tiles (margins, size, resolution, number of
colours) used to render the pattern effectively? Can vector tiles be
used? Am I right in assuming that a more "random" looking distribution
cannot easily be obtained?

Thanks for your help!
Ulf

-- 
 Ulf Mehlig    <ulf.mehlig at gmx.net>
-----------------------------------------------------------------------





More information about the talk mailing list