From: Tom Hughes Date: Fri, 14 Jan 2011 15:09:20 +0000 (+0000) Subject: Update Potlatch 2 to r25050 build X-Git-Tag: live~6294^2^2~11 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/13743ae8d56cf6c8e8d33c8b20e57124ea09761f Update Potlatch 2 to r25050 build --- diff --git a/public/potlatch2/features/pois/flowers.png b/public/potlatch2/features/pois/flowers.png new file mode 100644 index 000000000..ba6298d1b Binary files /dev/null and b/public/potlatch2/features/pois/flowers.png differ diff --git a/public/potlatch2/imagery.xml b/public/potlatch2/imagery.xml index a7d8eb5a7..6164f7ea7 100644 --- a/public/potlatch2/imagery.xml +++ b/public/potlatch2/imagery.xml @@ -55,7 +55,7 @@ OS Scottish Popular historic - http://gibin.geog.ucl.ac.uk/~ollie/scotland/tiles/$z/$x/$y.jpg + http://ooc.openstreetmap.org/npescotland/tiles/$z/$x/$y.jpg NPE diff --git a/public/potlatch2/map_features.xml b/public/potlatch2/map_features.xml index d9170e658..ef2b84926 100644 --- a/public/potlatch2/map_features.xml +++ b/public/potlatch2/map_features.xml @@ -589,6 +589,10 @@ Quick documentation: + + + + @@ -1376,8 +1380,8 @@ Quick documentation: - + @@ -1479,7 +1483,7 @@ Quick documentation: - + @@ -1497,6 +1501,7 @@ Quick documentation: + @@ -1511,6 +1516,7 @@ Quick documentation: + @@ -1524,9 +1530,9 @@ Quick documentation: - + @@ -1540,13 +1546,13 @@ Quick documentation: - + @@ -1576,9 +1582,9 @@ Quick documentation: - + @@ -1595,9 +1601,21 @@ Quick documentation: + + + buildings + shopping + + + + + + + + buildings @@ -1610,6 +1628,7 @@ Quick documentation: + @@ -1625,6 +1644,7 @@ Quick documentation: + @@ -1637,6 +1657,8 @@ Quick documentation: + @@ -1658,6 +1680,7 @@ Quick documentation: + @@ -3172,61 +3195,61 @@ Quick documentation: - - + shopping - + ${name} - http://wiki.openstreetmap.org/wiki/Tag:shop%3Dconvenience + http://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket - + - - + shopping - + ${name} - http://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket + http://wiki.openstreetmap.org/wiki/Tag:shop%3Dconvenience - + - - + shopping - - + + - + + + shopping - - + + + shopping @@ -3262,6 +3285,17 @@ Quick documentation: + + shopping + + + + + + + + + shopping @@ -3322,6 +3356,17 @@ Quick documentation: + + shopping + + + + + + + + + shopping @@ -3394,6 +3439,17 @@ Quick documentation: + + shopping + + + + + + + + + shopping @@ -3507,17 +3563,71 @@ Quick documentation: - + - + places http://wiki.openstreetmap.org/wiki/Tag:boundary=administrative + + + + + + places + natural + + http://wiki.openstreetmap.org/wiki/Tag:boundary=national_park + + + + + places + + http://wiki.openstreetmap.org/wiki/Tag:boundary=postal_code + + + + + + + places + natural + + http://wiki.openstreetmap.org/wiki/Tag:boundary=protected_area + + + + + + + places + + http://wiki.openstreetmap.org/wiki/Tag:boundary=town + + + + + + + + + places + + http://wiki.openstreetmap.org/wiki/Tag:boundary=census + + + + + + + + diff --git a/public/potlatch2/potlatch.css b/public/potlatch2/potlatch.css index 7c3c51f83..9297f925d 100644 --- a/public/potlatch2/potlatch.css +++ b/public/potlatch2/potlatch.css @@ -44,6 +44,8 @@ area=yes tag should be filled. The below doesn't yet work as intended. */ way[highway=pedestrian] !:area { color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;} way[highway=pedestrian] :area { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } +way[highway=living_street] { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 4; } + way[highway=steps] { color: #FF6644; width: 6; dashes: 2, 2; } way[highway=footway] { color: #FF6644; width: 2; dashes: 6, 3; set .path;} way[highway=footway][bicycle=yes] { z-index: 4; color: Blue; width: 1; } @@ -92,7 +94,8 @@ way[landuse=retail] :area { color: #cc2222; width: 2; fill-col way[landuse=commercial] :area { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; } way[landuse=military] :area { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; set .area_small_name; } way[amenity],way[shop] :area { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; } -way[leisure],way[sport] :area { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; } +/* way[sport] should not be rendered by itself, according to wiki. Can we make it an "if all else fails"? */ +way[leisure] :area { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; } way[tourism] :area { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; set .area_small_name;} way[historic],way[ruins] :area { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; set .area_small_name;} way[military] :area { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; set .area_small_name;} @@ -117,6 +120,10 @@ way[leisure=marina] :area { color: pink; fill-color: pink; fill-opacity: 0.4 way[leisure=slipway] { color: grey; width: 3; casing-color: blue; casing-width: 7; } way[leisure=golf_course] :area { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; set .area_small_name;} +way[boundary] { color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} +/* Perhaps should be filled, on lower zooms. */ +way[boundary=national_park] { color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} +way[boundary=protected_area] { color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;} way[boundary=administrative] { color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;} way[boundary=administrative][waterway] { opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; } way[landuse=cemetery] { color: #664466; width: 2; fill-color: color: #664466; opacity: 0.2; set .area_small_name;} @@ -234,7 +241,7 @@ way[tunnel=yes][!waterway] { z-index: 3; color: black; width: eval('_width+6'); dashes: 4,4; } way[embankment=yes], way[cutting=yes] - { z-index: 8; opacity: 0.5; color: grey; width: eval('_width+5'); dashes: 2, 2; } + { z-index: 3; opacity: 0.5; color: grey; width: eval('_width+5'); dashes: 2, 2; } /* Oneway */ way[oneway=yes], way[junction=roundabout] { z-index: 15; color: #444444; width: 2; dashes: 15,35; line-style: arrows; } diff --git a/public/potlatch2/potlatch2.swf b/public/potlatch2/potlatch2.swf index f852325e1..baebb1f2e 100644 Binary files a/public/potlatch2/potlatch2.swf and b/public/potlatch2/potlatch2.swf differ