Index: trunk/styles_nodist/potlatch2/README
===================================================================
--- trunk/styles_nodist/potlatch2/README	(revision 3902)
+++ trunk/styles_nodist/potlatch2/README	(revision 3902)
@@ -0,0 +1,14 @@
+The Potlatch 2 styles need to be patched in order to work with the JOSM MapCSS implementation.
+
+The subversion externals definition has an explicit revision number set. 
+When updating from the remote repository, make sure to change the patched files accordingly.
+
+The ant task 'assemble' concatinates the patched files to the final style potlatch2.mapcss
+
+Another ant task 'update-externals' is a shortcut to change the svn property, such that the externals 
+points to the revision that is currently checked out.
+
+When committing, the following should be in sync:
+ * revision number in the svn externals property
+ * patched *.css files
+ * styles/standard/potlatch2.mapcss
Index: trunk/styles_nodist/potlatch2/build.xml
===================================================================
--- trunk/styles_nodist/potlatch2/build.xml	(revision 3900)
+++ trunk/styles_nodist/potlatch2/build.xml	(revision 3902)
@@ -1,17 +1,3 @@
-<project name="potlatch2styles_mod" basedir=".">
-<!--
-
-    The potlatch 2 styles need to be patched in order to work with the JOSM MapCSS implementation.
-    When updating from the potlatch2 repository, the workflow can be like this:
-     * copy files from 'patched' to 'source'
-     * cd source && svn up
-     * solve possible conflicts
-     * modify the new sections, such that they work with josm
-     * create potlatch2.mapcss (ant assemble)
-     * copy files from 'source' to 'patched'
-     * update externals definition to the current revision (ant update-externals)
-     * commit everything (style, patches and externals definition)
-     
--->
+<project name="potlatch2_patch_utils" basedir="." default="assemble">
 
     <!--    concatinate the files to one mapcss style file     -->
@@ -19,22 +5,10 @@
         <concat destfile="../../styles/standard/potlatch2.mapcss">
             <filelist dir="." files="prelude.css"/>        
-            <filelist dir="patched" files="core_ways.css,core_pois.css,core_landuse.css,potlatch.css"/>        
+            <filelist dir="patched" files="core_ways.css,core_pois.css,core_landuse.css,core_relations.css,potlatch.css"/>        
         </concat>
     </target>
     
-    
-    <target name="copy-patched-to-source">
-        <copy todir="source" overwrite="true"> 
-            <fileset dir="patched"/>
-        </copy>
-    </target>
-    
-    <target name="copy-source-to-patched">
-        <copy todir="patched" overwrite="true"> 
-            <filelist dir="source" files="core_ways.css,core_pois.css,core_landuse.css,potlatch.css"/>        
-        </copy>
-    </target>
 
-    <!--    Update the explicit revision number in the externals definition to the current revision. -->
+    <!--    update the explicit revision number in the externals definition to the currently checked out revison  -->
     <target name="update-externals" depends="source-revision">
         <exec executable="svn">
Index: trunk/styles_nodist/potlatch2/patched/core_pois.css
===================================================================
--- trunk/styles_nodist/potlatch2/patched/core_pois.css	(revision 3900)
+++ trunk/styles_nodist/potlatch2/patched/core_pois.css	(revision 3902)
@@ -89,7 +89,7 @@
 /* Addressing */
 
-node["addr:housenumber"],
-node["addr:housename"] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
-node["addr:housenumber"]::hn_casing,
-node["addr:housename"]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
-way["addr:interpolation"] { color: #B0E0E6; width: 3; dashes: 3,3;}
+node[addr:housenumber],
+node[addr:housename] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
+node[addr:housenumber]::hn_casing,
+node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
+way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
Index: trunk/styles_nodist/potlatch2/patched/core_relations.css
===================================================================
--- trunk/styles_nodist/potlatch2/patched/core_relations.css	(revision 3902)
+++ trunk/styles_nodist/potlatch2/patched/core_relations.css	(revision 3902)
@@ -0,0 +1,8 @@
+/* Route relations */
+
+relation[type=route] > way::relation_underlay { z-index: -1; width: 13; color: blue; opacity: 0.3; linecap: none; }
+relation[type=route][route=bicycle][network=ncn] > way::relation_underlay { z-index: -1; width: 12; color: red; opacity: 0.3; linecap: none; }
+relation[type=route][route=bicycle][network=rcn] > way::relation_underlay { z-index: -1; width: 12; color: cyan; opacity: 0.3; linecap: none; }
+relation[type=route][route=bicycle][network=lcn] > way::relation_underlay { z-index: -1; width: 12; color: blue; opacity: 0.3; linecap: none; }
+relation[type=route][route=foot] > way::relation_underlay { z-index: -1; width: 10; color: #80ff80; opacity: 0.6; linecap: none; }
+
