Changeset 3902 in josm for trunk/styles_nodist


Ignore:
Timestamp:
2011-02-14T16:13:57+01:00 (8 years ago)
Author:
bastiK
Message:

mapcss: minor improvements, fixes #5937 - MapCSS matching of piste:type=downhill, fixes #5938 - matching of relation members

Location:
trunk/styles_nodist/potlatch2
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles_nodist/potlatch2/build.xml

    r3900 r3902  
    1 <project name="potlatch2styles_mod" basedir=".">
    2 <!--
    3 
    4     The potlatch 2 styles need to be patched in order to work with the JOSM MapCSS implementation.
    5     When updating from the potlatch2 repository, the workflow can be like this:
    6      * copy files from 'patched' to 'source'
    7      * cd source && svn up
    8      * solve possible conflicts
    9      * modify the new sections, such that they work with josm
    10      * create potlatch2.mapcss (ant assemble)
    11      * copy files from 'source' to 'patched'
    12      * update externals definition to the current revision (ant update-externals)
    13      * commit everything (style, patches and externals definition)
    14      
    15 -->
     1<project name="potlatch2_patch_utils" basedir="." default="assemble">
    162
    173    <!--    concatinate the files to one mapcss style file     -->
     
    195        <concat destfile="../../styles/standard/potlatch2.mapcss">
    206            <filelist dir="." files="prelude.css"/>       
    21             <filelist dir="patched" files="core_ways.css,core_pois.css,core_landuse.css,potlatch.css"/>       
     7            <filelist dir="patched" files="core_ways.css,core_pois.css,core_landuse.css,core_relations.css,potlatch.css"/>       
    228        </concat>
    239    </target>
    2410   
    25    
    26     <target name="copy-patched-to-source">
    27         <copy todir="source" overwrite="true">
    28             <fileset dir="patched"/>
    29         </copy>
    30     </target>
    31    
    32     <target name="copy-source-to-patched">
    33         <copy todir="patched" overwrite="true">
    34             <filelist dir="source" files="core_ways.css,core_pois.css,core_landuse.css,potlatch.css"/>       
    35         </copy>
    36     </target>
    3711
    38     <!--    Update the explicit revision number in the externals definition to the current revision. -->
     12    <!--    update the explicit revision number in the externals definition to the currently checked out revison -->
    3913    <target name="update-externals" depends="source-revision">
    4014        <exec executable="svn">
  • trunk/styles_nodist/potlatch2/patched/core_pois.css

    r3900 r3902  
    8989/* Addressing */
    9090
    91 node["addr:housenumber"],
    92 node["addr:housename"] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
    93 node["addr:housenumber"]::hn_casing,
    94 node["addr:housename"]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
    95 way["addr:interpolation"] { color: #B0E0E6; width: 3; dashes: 3,3;}
     91node[addr:housenumber],
     92node[addr:housename] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
     93node[addr:housenumber]::hn_casing,
     94node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
     95way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
Note: See TracChangeset for help on using the changeset viewer.