Legend
Sowa1980 came up with an idea to show explicitly levels tags while editing building. Showing them allow to see in a convenient way which tags are not set without selecting individual objects.
- Greenish colour is for building related tags.
- Blueish colour is for building part related tags.
Credits
Idea: Sowa1980
Coding: Alexander-II
Screenshot
meta { title: "Building Levels Labels"; author: "Sowa1980, Alexander-II"; version: "1.8_2019-05-30"; description: "Explicitly shows such tags as roof:levels, building:levels, building:levels:underground, building:min_level in the center of building/building part."; } meta[lang=ru] { title: "Отображение этажей зданий"; description: "Выводит значение тегов roof:levels, building:levels, building:levels:underground, building:min_level в центре полигона здания/части"; } /* Building */ area[building][roof:levels]::t { text: eval(concat("roof:levels = ", tag("roof:levels"))); text-color: #357c23; font-size: 10; text-offset-y: 45; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building][building:levels]::tt { text: eval(concat("building:levels = ", tag("building:levels"))); text-color: #357c23; font-size: 10; text-offset-y: 34; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building][building:levels:underground]::ttt { text: eval(concat("building:levels:underground = ", tag("building:levels:underground"))); text-color: #357c23; font-size: 10; text-offset-y: 23; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building][building:min_level]::tttt { text: eval(concat("building:min_level = ", tag("building:min_level"))); text-color: #357c23; font-size: 10; text-offset-y: 12; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } /* Building Part */ area[building:part][roof:levels]::t { text: eval(concat("roof:levels = ", tag("roof:levels"))); text-color: #1d82df; font-size: 10; text-offset-y: -12; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building:part][building:levels]::tt { text: eval(concat("building:levels = ", tag("building:levels"))); text-color: #1d82df; font-size: 10; text-offset-y: -23; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building:part][building:levels:underground]::ttt { text: eval(concat("building:levels:underground = ", tag("building:levels:underground"))); text-color: #1d82df; font-size: 10; text-offset-y: -34; text-position: center; text-halo-radius: 1.5; text-halo-color: white; } area[building:part][building:min_level]::tttt { text: eval(concat("building:min_level = ", tag("building:min_level"))); text-color: #1d82df; font-size: 10; text-offset-y: -45; text-position: center; text-halo-radius: 1.5; text-halo-color: white; }
Styles_Building_Levels_Labels-style.mapcss, Styles_Building_Levels_Labels.zip
Last modified 4 years ago
Last modified on 2019-05-30T18:05:43+02:00
Attachments (1)
- Снимок экрана 2019-05-19 в 16.55.16.png (1.1 MB) - added by 4 years ago.
Download all attachments as: .zip