Version 2 (modified by 12 years ago) ( diff ) | ,
---|
The MapCSS layer feature lets surimpose various levels of warning layers. The bottom layers are wider to be seen under other layers.
- Bottom layer, dashed orange : Fixme attribue (ie. objects with a Fixme attribute.
- Fixme with Canvec Prefixes (Canada Canvec imports / OSM Comparison)
- dashed orange-#CC0033 : Commited Canvec feature does not match any Osm feature. Missing/Misclassified Osm feature?
- dashed orange-green : Omited Osm feature does not match any Canvec feature. Missing/Misclassified Canvec feature?
- dashed orange-blue : Unmatched OSM and Canvec geometries are significantly different.Geometries need to be fixed?
- dashed orange-yellow : Attributed Osm and Canvec geometries matched but some common attributes differ. Attributes need to be fixed?
- Middle layer, red : Unnamed roads (ie. Highway with no name attribute).
- Top layer : Highway attribute (ie. Primary, Secondary, etc.) Potlatch2 style may be use over Fixme Style.
meta { title: "FIXME"; shortdescription: "Highlight Fixme attribute"; 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)."; version: "0.20_2017-10-30"; author: "pierzen"; } /* The MapCSS layer feature lets surimpose various levels of warning layers. The bottom layers are wider to be seen under other layers. Bottom layer, dashed orange : Fixme attribue (ie. objects with a Fixme attribute. Fixme with Canvec Prefixes (Canada Canvec imports / OSM Comparison) dashed orange-#CC0033 : Commited – Canvec feature does not match any Osm feature. Missing/Misclassified Osm feature? dashed orange-green : Omited – Osm feature does not match any Canvec feature. Missing/Misclassified Canvec feature? dashed orange-blue : Unmatched – OSM and Canvec geometries are significantly different.Geometries need to be fixed? dashed orange-yellow : Attributed – Osm and Canvec geometries matched but some common attributes differ. Attributes need to be fixed? Middle layer, red : Unnamed roads (ie. Highway with no name attribute). Top layer : Highway attribute (ie. Primary, Secondary, etc.) Potlatch2 style may be used over this Fixme Style. */ canvas { background-color: #ffffea; default-lines: false; default-points: false; } way[!highway] { color : gray; width:0.5; } node|z1-17 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1} node|z18 { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:3; z-index:1} node|z19- { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:5; z-index:1} area|z1-12:close,way|z1-12[building] { color: red; fill-color:red; opacity:1 width: 10;} /* Fixme Layer, width=30 */ node["fixme"] { width: 30; casing-width: +2; color: orange; z-index: -3; } way["fixme"]::way_fixme { color: white; width:30; opacity:0.5; z-index: -2; dashes: 20,30; dashes-background-color: orange; } /* Canada Canvec-OSM comparison fixme messages ^= Prefix match */ node["fixme" ^= "Commited"], way["fixme" ^= "Commited"]::fixme { color: #CC0033; width:30; opacity:0.5; z-index: -2; dashes: 20,30; dashes-background-color: orange; } node["fixme" ^= "Omited"], way["fixme" ^= "Omited"]::fixme { color: green; width:30; opacity:0.5; z-index: -2; dashes: 20,30; dashes-background-color: orange; } node["fixme" ^= "Unmatched"], way["fixme" *= "Unmatched"]::fixme { color: blue; width:30; opacity:0.5; z-index: -2; dashes: 20,30; dashes-background-color: orange; } node["fixme" ^= "Attributed"], way["fixme" ^= "Attributed"]::fixme { color: yellow; width:30; opacity:0.5; z-index: -2; dashes: 20,30; dashes-background-color: orange; } /* UNNAMED HIGHWAYS RED Layer, width=20 */ way[highway][!name]::way_unnamed { color: red; width:20; opacity:0.4; z-index: -1; } way[highway=pedestrian][!name]::way_service, way[highway=service][!name]::way_service { color: #EAEEEA; width:20; z-index: 0; } way[highway][name]::way_named { width: 3; casing-width: 0; z-index: -1; }
Attachments (1)
-
error_small.png
(253 bytes
) - added by 10 years ago.
Icon
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.