source: subversion/utils/srtm2osm/osmarender4.diff @ 2191

Last change on this file since 2191 was 2125, checked in by enxrah, 13 years ago

srtm2osm a little utility to create contour lines in OSM format

File size: 1.2 KB
  • rules/standard.xml

     
    183183            </rule>
    184184        </layer>
    185185
     186        <!-- Contours -->
     187        <rule e="segment|way" k="contour" v="*">
     188            <layer name="Contours">
     189                <line class='contour' />
     190                <text k="contour" text-anchor='middle' startOffset='50%' class="contour-name" />
     191            </layer>
     192        </rule>
    186193
    187194        <!-- Bridges -->
    188195        <rule e="segment|way" k="bridge" v="yes|true">
     
    778785                /* marker-end: url(#segment-direction); */
    779786            }
    780787
     788            .contour-name {
     789                fill: black;
     790                font-family: "DejaVu Sans",sans-serif;
     791                font-size: 3px;
     792            }
     793
     794            .contour {
     795                stroke-width: 0.4px;
     796                stroke-linecap: round;
     797                stroke: gray;
     798                fill: none;
     799                /* marker-end: url(#segment-direction); */
     800            }
     801
    781802            .error {
    782803                stroke-width: 2px;
    783804                stroke-linecap: round;
Note: See TracBrowser for help on using the repository browser.