[OSM-dev] central elemstyles/MapFeatures.xml
Joerg Ostertag (OSM Munich/Germany)
openstreetmap at ostertag.name
Tue Nov 7 00:01:19 GMT 2006
On Monday 06 November 2006 23:18, 80n wrote:
> An earlier version version of Osmarender did have a mechanism to allow an
> external style sheet file to be referenced. I think it caused problems
> with some tools because I didn't implement it properly, so it got dropped.
>
> It should be easy to re-introduce this. The styles are separate from the
> rules for this exact reason.
Do you think osmarender could be changed to handle a style definition similar
to the one i suggested? If yes, this would be great.
> > > <mapfeatures>
> > > <rule>
> > > <condition k="class" v="suburb" />
> > > <rendering>
> > > <scale_min>1 </scale_min>
> > > <scale_max>10000 </scale_max>
> > > <icon annotate="name,regioncode" src="place.png" />
> > > </rendering>
> > > <rendering>
> > > <scale_min>10000 </scale_min>
> > > <scale_max>100000 </scale_max>
> > > <icon src="city/small.png" />
> > > </rendering>
> > > </rule>
> > > <rule>
> > > ...
> > > </rule>
> > > </mapfeatures>
More information about the dev
mailing list