Changes between Version 1 and Version 2 of Styles/RU-SubwayEntranceLabeling


Ignore:
Timestamp:
2018-02-11T21:06:53+01:00 (12 days ago)
Author:
Alexander-II
Comment:

Minor changes to Russian description. Added text alignment and zoom selector to node.

Legend:

Unmodified
Added
Removed
Modified
  • Styles/RU-SubwayEntranceLabeling

    v1 v2  
    11=== Kinda proof of concept in Overpass Turbo
    22Thanx to freeExec for helping with code.
    3 https://overpass-turbo.eu/s/w6c
     3https://overpass-turbo.eu/s/w6c | https://forum.openstreetmap.org/viewtopic.php?pid=684527#p684527
    44
    55{{{
     
    4343meta[lang=ru] {
    4444    title: "Названия станций на выходах метро";
    45     description: "Показывает названия станций метро на выходах из метро";
     45    description: "Показывает названия станций метро на выходах из метро с использованием отношения stop_area";
    4646    link: "https://wiki.openstreetmap.org/wiki/Tag:public_transport%3Dstop_area";
    4747}
     
    5252}
    5353
    54 node[railway=subway_entrance].has_station_name::subway_entrance_label {
     54node|z18-[railway=subway_entrance].has_station_name::subway_entrance_label {
    5555  text: concat("Выход № ", tag(ref), " со станций: " ,join_list(", ", prop(station_name)));
    56 /*  font-size: 12; TODO maybe it makes sense to put text size in settings */
     56  text-anchor-vertical: above;
     57  text-offset-x: 5;
     58  font-size: 11; /* TODO maybe it makes sense to put text size in settings */
    5759}
    5860