Ignore:
Timestamp:
2014-08-12T11:36:47+02:00 (10 years ago)
Author:
bastiK
Message:

see #10363 - show place=* icons on |z11-

  • special handling for instructions with keword "none" as value: always treat as null value
  • print current zoom level to command line with at --trace debug level
File:
1 edited

Legend:

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

    r7377 r7378  
    1212meta {
    1313    icon: "dialogs/mappaint/josm_small.png";
     14}
     15
     16canvas {
     17    default-points: false;
    1418}
    1519
     
    2630    object-z-index: 10;
    2731    icon-image: "misc/note-annotation.png";
     32}
     33
     34/* special display of unreviewed tiger data (USA) */
     35way["tiger:reviewed"=no]::core_tiger {
     36    major-z-index: -10;
     37    width: 11;
     38    color: tiger_data#808000;
     39    opacity: 0.6;
    2840}
    2941
     
    270282node[toll] {
    271283    icon-image: "misc/no_icon.png";
    272 }
    273 
    274 /**************/
    275 /* place tags */
    276 /**************/
    277 
    278 /* lot's of "openGeoDB:..." tags can be found in germany */
    279 node["openGeoDB:type"=Stadt],
    280 node["openGeoDB:type"=Kreis],
    281 node["openGeoDB:type"=Gemeinde],
    282 node["openGeoDB:type"=Ort],
    283 node["openGeoDB:type"=District],
    284 node["openGeoDB:location"=locality] {
    285     icon-image: "place/settlement/town.png";
    286     text: auto;
    287 }
    288 area[place=continent],
    289 area[place=country],
    290 area[place=state],
    291 area[place=region],
    292 area[place=county],
    293 area[place=city],
    294 area[place=town],
    295 area[place=village],
    296 area[place=hamlet],
    297 area[place=isolated_dwelling],
    298 area[place=neighbourhood],
    299 area[place=suburb],
    300 area[place=locality],
    301 area[place=island],
    302 area[place=islet] {
    303     fill-color: place#8de3cb;
    304 }
    305 node[place=continent],
    306 node[place=country],
    307 node[place=state],
    308 node[place=region],
    309 node[place=county] {
    310     icon-image: "place/settlement/capital.png";
    311     text: auto;
    312 }
    313 node[place=city] {
    314     icon-image: "place/settlement/city.png";
    315     text: auto;
    316 }
    317 node[place=town],
    318 node[place=village],
    319 node[place=hamlet],
    320 node[place=isolated_dwelling],
    321 node[place=neighbourhood],
    322 node[place=suburb] {
    323     icon-image: "place/settlement/town.png";
    324     text: auto;
    325 }
    326 node[place=locality] {
    327     icon-image: "place/locality.png";
    328     text: auto;
    329 }
    330 node[place=island] {
    331     icon-image: "place/island.png";
    332     text: auto;
    333 }
    334 node[place=islet] {
    335     icon-image: "place/islet.png";
    336     text: auto;
    337 }
    338 /* special display of unreviewed tiger data (USA) */
    339 way["tiger:reviewed"=no]::core_tiger {
    340     major-z-index: -10;
    341     width: 11;
    342     color: tiger_data#808000;
    343     opacity: 0.6;
    344284}
    345285
     
    36103550/***************/
    36113551
    3612 canvas {
    3613     default-points: false;
    3614 }
    36153552node {
    36163553    text: auto;
     
    36253562}
    36263563node|z16-:tagged {
    3627     symbol-stroke-color: node_tagged#ccffff;
     3564    symbol-stroke-color: none;
     3565    symbol-fill-color: node_tagged#00ffff;
    36283566}
    36293567
     
    36553593node|z21,area|z21   { font-size: 10; }
    36563594node|z22-,area|z22- { font-size: 11; }
     3595
     3596/**************/
     3597/* place tags */
     3598/**************/
     3599
     3600/* lot's of "openGeoDB:..." tags can be found in germany */
     3601node|z11-["openGeoDB:type"=Stadt],
     3602node|z11-["openGeoDB:type"=Kreis],
     3603node|z11-["openGeoDB:type"=Gemeinde],
     3604node|z11-["openGeoDB:type"=Ort],
     3605node|z11-["openGeoDB:type"=District],
     3606node|z11-["openGeoDB:location"=locality] {
     3607    icon-image: "place/settlement/town.png";
     3608    text: auto;
     3609}
     3610area[place=continent],
     3611area[place=country],
     3612area[place=state],
     3613area[place=region],
     3614area[place=county],
     3615area[place=city],
     3616area[place=town],
     3617area[place=village],
     3618area[place=hamlet],
     3619area[place=isolated_dwelling],
     3620area[place=neighbourhood],
     3621area[place=suburb],
     3622area[place=locality],
     3623area[place=island],
     3624area[place=islet] {
     3625    fill-color: place#8de3cb;
     3626}
     3627node|z11-[place=continent],
     3628node|z11-[place=country],
     3629node|z11-[place=state],
     3630node|z11-[place=region],
     3631node|z11-[place=county] {
     3632    icon-image: "place/settlement/capital.png";
     3633    text: auto;
     3634}
     3635node|z11-[place=city] {
     3636    icon-image: "place/settlement/city.png";
     3637    text: auto;
     3638}
     3639node|z11-[place=town],
     3640node|z11-[place=village],
     3641node|z11-[place=hamlet],
     3642node|z11-[place=isolated_dwelling],
     3643node|z11-[place=neighbourhood],
     3644node|z11-[place=suburb] {
     3645    icon-image: "place/settlement/town.png";
     3646    text: auto;
     3647}
     3648node|z11-[place=locality] {
     3649    icon-image: "place/locality.png";
     3650    text: auto;
     3651}
     3652node|z11-[place=island] {
     3653    icon-image: "place/island.png";
     3654    text: auto;
     3655}
     3656node|z11-[place=islet] {
     3657    icon-image: "place/islet.png";
     3658    text: auto;
     3659}
    36573660
    36583661/* "deprecated" tags
Note: See TracChangeset for help on using the changeset viewer.