[Mapcss] Example for "set"
Bjoern Hassler
bjohas+mw at gmail.com
Fri May 12 00:05:49 UTC 2017
Hello all,
Would somebody be able to give an example, ideally in overpass-turbo, for
the following:
Declarations may also be used to set the value of certain tags on an
object:
{ set tag=value; } /* set a tag */
{ set tag; } /* set a tag to 'yes' */
and
You can set tags beginning with a full-stop to simulate classes:
{ set .minor_road; }
You can then use the .minor_road test (as above) in the selector:
way.minor_road
It's not really clear to me how these work. See also here
https://wiki.openstreetmap.org/wiki/Talk:MapCSS/0.2#Example_for_.22set.22
if you prefer to answer on the wiki!
Many thanks!
Bjoern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20170512/947dc3d1/attachment.html>
More information about the Mapcss
mailing list