Changes between Initial Version and Version 1 of Styles/Fixme


Ignore:
Timestamp:
2012-09-05T21:34:00+02:00 (12 years ago)
Author:
stoecker
Comment:

Copy from attachment

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Fixme

    v1 v1  
     1The MapCSS layer feature lets surimpose various levels of warning layers. The bottom layers are wider to be seen under other layers.
     2       
     3* Bottom layer, dashed orange : Fixme attribue (ie. objects with a Fixme attribute.
     4* Fixme with Canvec Prefixes (Canada Canvec imports / OSM Comparison)
     5* dashed orange-#CC0033 : Commited – Canvec feature does not match any Osm feature. Missing/Misclassified Osm feature?
     6* dashed orange-green : Omited – Osm feature does not match any Canvec feature. Missing/Misclassified Canvec feature?
     7* dashed orange-blue : Unmatched – OSM and Canvec geometries are significantly different.Geometries need to be fixed?
     8* dashed orange-yellow : Attributed – Osm and Canvec geometries matched but some common attributes differ. Attributes need to be fixed?
     9* Middle layer, red : Unnamed roads (ie. Highway with no name attribute).
     10* Top layer : Highway attribute (ie. Primary, Secondary, etc.) Potlatch2 style may be use over Fixme Style.
     11
     12{{{
     13#!style type="mapcss"
     14meta
     15{
     16    title: "FIXME";
     17    shortdescription: "Highlight Fixme attribute";
     18    description: "In the present version, this MapCSS style highlights ways with Fixme attribute and unnamed highways. This style may be used alone or combined with other styles such as Potlatch2 and Mapnik (Tested in JOSM only).";
     19    version: "0.[[revision]]_[[date]]";
     20    author: "pierzen";
     21}
     22
     23canvas {
     24    background-color: #ffffea;
     25    default-lines: false;
     26    default-points: false;
     27}
     28
     29way[!highway] {
     30        color : gray;
     31        width:0.5;
     32}
     33node|z1-17 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1}
     34node|z18 { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:3;  z-index:1}
     35node|z19- { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:5;  z-index:1}
     36area|z1-12:close,way|z1-12[building]  { color: red; fill-color:red; opacity:1 width: 10;}
     37
     38
     39node["fixme"]
     40
     41{
     42    width: 30; casing-width: +2;
     43    color: orange;
     44        z-index: -3;
     45}
     46way["fixme"]::way_fixme
     47
     48{
     49    color: white; width:30; opacity:0.5; z-index: -2;
     50    dashes: 20,30;
     51    dashes-background-color: orange;
     52}
     53
     54/* Canada Canvec-OSM comparison fixme messages ^= Prefix match */
     55
     56node["fixme" ^= "Commited"], way["fixme" ^= "Commited"]::fixme
     57{
     58    color: #CC0033; width:30; opacity:0.5; z-index: -2;
     59    dashes: 20,30;
     60    dashes-background-color: orange;
     61}
     62
     63node["fixme" ^= "Omited"], way["fixme" ^= "Omited"]::fixme
     64{
     65    color: green; width:30; opacity:0.5; z-index: -2;
     66    dashes: 20,30;
     67    dashes-background-color: orange;
     68}
     69
     70node["fixme" ^= "Unmatched"], way["fixme" *= "Unmatched"]::fixme
     71
     72{
     73    color: blue; width:30; opacity:0.5; z-index: -2;
     74    dashes: 20,30;
     75    dashes-background-color: orange;
     76}
     77
     78node["fixme" ^= "Attributed"], way["fixme" ^= "Attributed"]::fixme
     79{
     80    color: yellow; width:30; opacity:0.5; z-index: -2;
     81    dashes: 20,30;
     82    dashes-background-color: orange;
     83}
     84
     85
     86/* UNNAMED HIGHWAYS RED Background */
     87
     88way[highway][!name]::way_unnamed {
     89    color: red; width:20; opacity:0.4; z-index: -1;
     90}
     91way[highway=pedestrian][!name]::way_service, way[highway=service][!name]::way_service {
     92    color: #EAEEEA; width:20; z-index: 0;
     93}
     94way[highway][name]::way_named {
     95    width: 3;
     96    casing-width: 0;
     97    z-index: -1; 
     98}
     99xway[highway][name]::way_named {
     100    font-family: "DejaVu Sans Bold";
     101    font-size: 16;
     102    text: "name";
     103    linecap: round;
     104    linejoin: round;
     105    text-color: blue;
     106        text-background: white;
     107    text-halo-radius: 1;
     108    text-position: line;
     109    width: 3;
     110    casing-width: 0;
     111    z-index: -1; 
     112}
     113}}}