[Mapcss] Associating overpass result sets with MapCSS, was: Re: Example for "set"
Aun Johnsen
lists at gimnechiske.org
Fri May 12 15:33:31 UTC 2017
Bjørn
I don’t know if it will work, but the way I have been thinking is like this:
way[highway=residential][!surface] {
set: surface=unpaved;
}
way[highway=motorway][!surface] {
set: surface=paved;
}
This is done so I can assume default values later in the sheet, without having to test explicitly for untagged ways for each test. If it works on the implementation of mapcss, it will come handy on complex stylesheets.
Aun Johnsen
> On May 12, 2017, at 12:08, Bjoern Hassler <bjohas+mw at gmail.com> wrote:
>
> Aun, can you say a little more about "set tag=value"? I assume these are css tags? What's the purpose?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20170512/f58d565c/attachment.html>
More information about the Mapcss
mailing list