/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Methods/Mapping/scripts/srtm2osm/osmarender4.diff

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: rules/standard.xml
 
2
===================================================================
 
3
--- rules/standard.xml  (revision 2123)
 
4
+++ rules/standard.xml  (working copy)
 
5
@@ -183,6 +183,13 @@
 
6
             </rule>
 
7
         </layer>
 
8
 
 
9
+        <!-- Contours -->
 
10
+        <rule e="segment|way" k="contour" v="*">
 
11
+            <layer name="Contours">
 
12
+                <line class='contour' />
 
13
+                <text k="contour" text-anchor='middle' startOffset='50%' class="contour-name" />
 
14
+            </layer>
 
15
+        </rule>
 
16
 
 
17
         <!-- Bridges -->
 
18
         <rule e="segment|way" k="bridge" v="yes|true">
 
19
@@ -778,6 +785,20 @@
 
20
                 /* marker-end: url(#segment-direction); */
 
21
             }
 
22
 
 
23
+            .contour-name {
 
24
+                fill: black;
 
25
+                font-family: "DejaVu Sans",sans-serif;
 
26
+                font-size: 3px;
 
27
+            }
 
28
+
 
29
+            .contour {
 
30
+                stroke-width: 0.4px;
 
31
+                stroke-linecap: round;
 
32
+                stroke: gray;
 
33
+                fill: none;
 
34
+                /* marker-end: url(#segment-direction); */
 
35
+            }
 
36
+
 
37
             .error {
 
38
                 stroke-width: 2px;
 
39
                 stroke-linecap: round;