Ignore:
Timestamp:
2018-05-30T22:18:12+02:00 (3 weeks ago)
Author:
Don-vip
Message:

see #16128, see #16251 - display street labels on z18+, operation very costly on urban areas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r13835 r13875  
    47924792/*******************/
    47934793
    4794 way|z17-[highway=motorway][setting("highway_labels")],
    4795 way|z17-[highway=motorway_link][setting("highway_labels")],
    4796 way|z17-[highway=trunk][setting("highway_labels")],
    4797 way|z17-[highway=trunk_link][setting("highway_labels")],
    4798 way|z17-[highway=primary][setting("highway_labels")],
    4799 way|z17-[highway=primary_link][setting("highway_labels")],
    4800 way|z17-[highway=secondary][setting("highway_labels")],
    4801 way|z17-[highway=secondary_link][setting("highway_labels")],
    4802 way|z17-[highway=tertiary][setting("highway_labels")],
    4803 way|z17-[highway=tertiary_link][setting("highway_labels")],
    4804 way|z17-[highway=unclassified][setting("highway_labels")],
    4805 way|z17-[highway=residential][setting("highway_labels")],
    4806 way|z17-[highway=living_street][setting("highway_labels")],
    4807 way|z17-[highway=escape][setting("highway_labels")],
    4808 way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
    4809 way|z17-[highway=steps][setting("highway_labels")],
    4810 way|z17-[highway=footway][setting("highway_labels")],
    4811 way|z17-[highway=path][setting("highway_labels")],
    4812 way|z17-[highway=service][setting("highway_labels")],
    4813 way|z17-[highway=track][setting("highway_labels")],
    4814 way|z17-[highway=cycleway][setting("highway_labels")],
    4815 way|z17-[highway=bridleway][setting("highway_labels")],
    4816 way|z17-[highway=bus_guideway][setting("highway_labels")],
    4817 way|z17-[highway=raceway][setting("highway_labels")],
    4818 way|z17-[highway=construction][setting("highway_labels")],
    4819 way|z17-[highway=road][setting("highway_labels")] {
     4794way|z18-[highway=motorway][setting("highway_labels")],
     4795way|z18-[highway=motorway_link][setting("highway_labels")],
     4796way|z18-[highway=trunk][setting("highway_labels")],
     4797way|z18-[highway=trunk_link][setting("highway_labels")],
     4798way|z18-[highway=primary][setting("highway_labels")],
     4799way|z18-[highway=primary_link][setting("highway_labels")],
     4800way|z18-[highway=secondary][setting("highway_labels")],
     4801way|z18-[highway=secondary_link][setting("highway_labels")],
     4802way|z18-[highway=tertiary][setting("highway_labels")],
     4803way|z18-[highway=tertiary_link][setting("highway_labels")],
     4804way|z18-[highway=unclassified][setting("highway_labels")],
     4805way|z18-[highway=residential][setting("highway_labels")],
     4806way|z18-[highway=living_street][setting("highway_labels")],
     4807way|z18-[highway=escape][setting("highway_labels")],
     4808way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
     4809way|z18-[highway=steps][setting("highway_labels")],
     4810way|z18-[highway=footway][setting("highway_labels")],
     4811way|z18-[highway=path][setting("highway_labels")],
     4812way|z18-[highway=service][setting("highway_labels")],
     4813way|z18-[highway=track][setting("highway_labels")],
     4814way|z18-[highway=cycleway][setting("highway_labels")],
     4815way|z18-[highway=bridleway][setting("highway_labels")],
     4816way|z18-[highway=bus_guideway][setting("highway_labels")],
     4817way|z18-[highway=raceway][setting("highway_labels")],
     4818way|z18-[highway=construction][setting("highway_labels")],
     4819way|z18-[highway=road][setting("highway_labels")] {
    48204820    text: auto;
    48214821    text-color: black;
    4822     font-size: 9;
     4822    font-size: 10;
    48234823    text-position: line;
    48244824    text-halo-opacity: 1;
    48254825    text-halo-radius: 1.5;
    48264826}
    4827 way|z17-[highway=motorway][setting("highway_labels")],
    4828 way|z17-[highway=motorway_link][setting("highway_labels")] {
     4827way|z18-[highway=motorway][setting("highway_labels")],
     4828way|z18-[highway=motorway_link][setting("highway_labels")] {
    48294829    text-halo-color: motorway#809bc0;
    48304830}
    4831 way|z17-[highway=trunk][setting("highway_labels")],
    4832 way|z17-[highway=trunk_link][setting("highway_labels")] {
     4831way|z18-[highway=trunk][setting("highway_labels")],
     4832way|z18-[highway=trunk_link][setting("highway_labels")] {
    48334833    text-halo-color: trunk#7fc97f;
    48344834}
    4835 way|z17-[highway=primary][setting("highway_labels")],
    4836 way|z17-[highway=primary_link][setting("highway_labels")] {
     4835way|z18-[highway=primary][setting("highway_labels")],
     4836way|z18-[highway=primary_link][setting("highway_labels")] {
    48374837    text-halo-color: primary#fb805f;
    48384838}
    4839 way|z17-[highway=secondary][setting("highway_labels")],
    4840 way|z17-[highway=secondary_link][setting("highway_labels")] {
     4839way|z18-[highway=secondary][setting("highway_labels")],
     4840way|z18-[highway=secondary_link][setting("highway_labels")] {
    48414841    text-halo-color: secondary#fdbf6f;
    48424842}
    4843 way|z17-[highway=tertiary][setting("highway_labels")],
    4844 way|z17-[highway=tertiary_link][setting("highway_labels")] {
     4843way|z18-[highway=tertiary][setting("highway_labels")],
     4844way|z18-[highway=tertiary_link][setting("highway_labels")] {
    48454845    text-halo-color: tertiary#f7f496;
    48464846}
    4847 way|z17-[highway=unclassified][setting("highway_labels")],
    4848 way|z17-[highway=residential][setting("highway_labels")],
    4849 way|z17-[highway=living_street][setting("highway_labels")],
    4850 way|z17-[highway=escape][setting("highway_labels")] {
     4847way|z18-[highway=unclassified][setting("highway_labels")],
     4848way|z18-[highway=residential][setting("highway_labels")],
     4849way|z18-[highway=living_street][setting("highway_labels")],
     4850way|z18-[highway=escape][setting("highway_labels")] {
    48514851    text-halo-color: street#c0c0c0;
    48524852}
    4853 way|z17-[highway=pedestrian][!area?][setting("highway_labels")],
    4854 way|z17-[highway=steps][setting("highway_labels")],
    4855 way|z17-[highway=footway][setting("highway_labels")],
    4856 way|z17-[highway=path][setting("highway_labels")] {
     4853way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
     4854way|z18-[highway=steps][setting("highway_labels")],
     4855way|z18-[highway=footway][setting("highway_labels")],
     4856way|z18-[highway=path][setting("highway_labels")] {
    48574857    text-halo-color: foot#00ff00;
    48584858}
    4859 way|z17-[highway=service][setting("highway_labels")] {
     4859way|z18-[highway=service][setting("highway_labels")] {
    48604860    text-halo-color: service#809bc0;
    48614861}
    4862 way|z17-[highway=track][setting("highway_labels")] {
     4862way|z18-[highway=track][setting("highway_labels")] {
    48634863    text-halo-color: highway_track#6e541c;
    48644864}
    4865 way|z17-[highway=cycleway][setting("highway_labels")],
    4866 way|z17-[highway=path][setting("highway_labels")].cyclecolor {
     4865way|z18-[highway=cycleway][setting("highway_labels")],
     4866way|z18-[highway=path][setting("highway_labels")].cyclecolor {
    48674867    text-halo-color: bicycle#b100ff;
    48684868}
    4869 way|z17-[highway=bridleway][setting("highway_labels")] {
     4869way|z18-[highway=bridleway][setting("highway_labels")] {
    48704870    text-halo-color: horse#a18559;
    48714871}
    4872 way|z17-[highway=bus_guideway][setting("highway_labels")] {
     4872way|z18-[highway=bus_guideway][setting("highway_labels")] {
    48734873    text-halo-color: rail#404040;
    48744874}
    4875 way|z17-[highway=raceway][setting("highway_labels")] {
     4875way|z18-[highway=raceway][setting("highway_labels")] {
    48764876    text-halo-color: raceway#ff80ff;
    48774877}
    4878 way|z17-[highway=construction][setting("highway_labels")] {
     4878way|z18-[highway=construction][setting("highway_labels")] {
    48794879    text-halo-color: construction#ffff00;
    48804880}
    4881 way|z17-[highway=road][setting("highway_labels")] {
     4881way|z18-[highway=road][setting("highway_labels")] {
    48824882    text-halo-color: highway_road#770000;
    48834883}
    4884 way|z17-[highway][railway=platform][setting("highway_labels")] {
     4884way|z18-[highway][railway=platform][setting("highway_labels")] {
    48854885    text-halo-color: rail#404040;
    48864886}
    4887 way|z17-[highway][public_transport=platform][setting("highway_labels")] {
     4887way|z18-[highway][public_transport=platform][setting("highway_labels")] {
    48884888    text-halo-color: service#809bc0;
    4889 }
    4890 way|z18[highway][setting("highway_labels")] {
    4891     font-size: 10;
    48924889}
    48934890way|z19[highway][setting("highway_labels")] {
Note: See TracChangeset for help on using the changeset viewer.