[OSM-dev] Patch for osm-map-features.xml

David Sheldon dave at earth.li
Thu Aug 31 21:32:53 BST 2006


As I don't have an SVN account, can someone commit this patch to
osm-map-features.xml.

It adds support for highway=trunk_link and highway=service as shown on
http://wiki.openstreetmap.org/index.php/Map_Features

David

-- 
                     Random female: "Oh my god!"
                Lord Flashart: "Yes, I suppose I am."
-------------- next part --------------
Index: osm-map-features.xml
===================================================================
--- osm-map-features.xml	(revision 1309)
+++ osm-map-features.xml	(working copy)
@@ -113,13 +113,13 @@
 
 
   <!-- draw highway casings for minor roads -->
-  <rule e="segment|way" k="highway" v="unclassified|residential">
+  <rule e="segment|way" k="highway" v="service|unclassified|residential">
     <line class='highway-unclassified-casing' />
   </rule>
 
 
   <!-- draw highway cores for minor roads -->
-  <rule e="segment|way" k="highway" v="unclassified|residential">
+  <rule e="segment|way" k="highway" v="service|unclassified|residential">
     <rule k="oneway" v="~">
       <line class='highway-unclassified-core' />  
     </rule>
@@ -145,7 +145,7 @@
   <rule e="segment|way" k="highway" v="primary">
       <line class='highway-primary-casing' />
   </rule>
-  <rule e="segment|way" k="highway" v="trunk">
+  <rule e="segment|way" k="highway" v="trunk|trunk_link">
       <line class='highway-trunk-casing' />
   </rule>
   <rule e="segment|way" k="highway" v="motorway|motorway_link">
@@ -178,7 +178,7 @@
     </rule>    
   </rule>
 
-  <rule e="segment|way" k="highway" v="trunk">
+  <rule e="segment|way" k="highway" v="trunk|trunk_link">
     <rule k="oneway" v="~">
       <line class='highway-trunk-core' />
     </rule>
@@ -265,7 +265,7 @@
 
 
   <!-- Draw street names for all highways -->
-  <rule e="segment|way" k="highway" v="unclassified|residential">
+  <rule e="segment|way" k="highway" v="service|unclassified|residential">
     <text k="name" text-anchor='middle' startOffset='50%' class="highway-unclassified-name" />
   </rule>
 


More information about the dev mailing list