[OSM-dev] Marsh Rendering in Osmarender

Brent Easton b.easton at exemail.com.au
Thu Jul 26 22:43:16 BST 2007


Not sure what I should do next with this, but here is what I added to standard.xml to get some nice Marsh symbols appearing with osmarender 4. It has no background so that it can be overlaid over woods to create wooded marsh.

Cheers,
Brent.

------------------------------
    <rule e="way" k="natural" v="marsh">
         <area class='landuse-marsh' />
    </rule>


    .landuse-marsh {
        fill: url(#marsh-pattern);
        stroke: none;
    }

      <svg:pattern id="marsh-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse">
            <svg:path stroke="#007fff" stroke-width="0.2" stroke-linecap="round" d="M 0,4 C 1.33,4 2.67,4 4,4 M 2,4 C 2,3 2,2 2,1 M 3,3 L 2,4 M 3,2 L 2,4 M 1,3 L 2,4 M 1,2 L 2,4 M 7,9 L 10,9 M 2,9 C 3,9 4,9 5,9 M 6,4 C 6.71,4 7.35,4 8,4 M 2,6 C 2.67,6 3.33,6 4,6 M 7,1 C 7.70,1 8.33,1 9,1 M 0,9 L 1,9 M 9,6 L 9,9 M 10,7 L 9,9 M 10,8 L 9,9 M 8,8 L 9,9 M 8,7 L 9,9"/>
 	</svg:pattern>
--------------------------------
____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: b.easton at uws.edu.au





More information about the dev mailing list