map_features: add a very basic "source" tag, to roads and paths. needs to be extended...
authorSteve Bennett <stevagewp@gmail.com>
Thu, 14 Oct 2010 21:53:06 +0000 (21:53 +0000)
committerSteve Bennett <stevagewp@gmail.com>
Thu, 14 Oct 2010 21:53:06 +0000 (21:53 +0000)
potlatch.css: add a very basic highway=proposed, highway=construction. needs to distinguish between paths, roads, freeways etc.

resources/map_features.xml
resources/potlatch.css

index cef8c6d..247ecff 100644 (file)
@@ -109,6 +109,12 @@ Quick documentation:
     <input type="freetext" presence="always" name="Name" key="name" description="The name" priority="highest" />
   </inputSet>
 
+  <inputSet id="source">
+    <!-- Can you do a combined freetext/dropdown? -->
+    <!-- Also need to make sure every object gets this -->
+    <input type="freetext" category="Misc" presence="always" name="Source" key="source" description="The primary source of information for this object (GPS, survey, Yahoo, nearmap...)" priority="high" />
+  </inputSet>
+
   <inputSet id="names">
     <input type="freetext" presence="always"
         name="Name" category="Naming" priority="highest"
@@ -158,6 +164,7 @@ Quick documentation:
 
   <inputSet id="majorRoad">
     <inputSet ref="names"/>
+    <inputSet ref="source"/>
     <inputSet ref="roadRefs"/>
     <inputSet ref="roadRestrictions"/>
     <inputSet ref="roadPhysical"/>
@@ -172,6 +179,7 @@ Quick documentation:
 
     <inputSet id="minorRoad">
       <inputSet ref="names"/>
+      <inputSet ref="source"/>
       <inputSet ref="roadRestrictions"/>
       <inputSet ref="roadPhysical"/>
       <inputSet ref="cycle"/>
@@ -185,6 +193,7 @@ Quick documentation:
 
   <inputSet id="path">
     <inputSet ref="simpleName"/>
+    <inputSet ref="source"/>
     <inputSet ref="roadPhysical"/>
     <inputSet ref="cycle"/>
     <inputSet ref="ldp"/>
@@ -194,6 +203,7 @@ Quick documentation:
 
   <inputSet id="junctionNode">
     <inputSet ref="turnRestrictions"/>
+    
   </inputSet>
 
   <inputSet id="roadRefs">
index ac93892..4fc09df 100644 (file)
@@ -54,6 +54,11 @@ way[highway=cycleway]  { color: Blue; width: 2; dashes: 4, 2; set .path;}
 way[railway=tram]      {z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 6; }
 way .path              {text:name; text-color: black; text-position: offset; text-offset: 3;}
 
+/* Could be improved */
+way[highway=proposed] { color: #88ffff; width: 6; dashes: 8, 4; }
+way[highway=construction] { color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 8; casing-dashes: 8,4;}
+
+
 way[waterway=river], 
 way[waterway=canal], 
 way[waterway=stream]   { color: blue; width: 2; text:name; text-color:blue; font-size:9; text-position: offset; text-offset: 7;}