User:Lübeck/Kosmos-rules-admin
Jump to navigation
Jump to search
Introduction
These rules are primary for show admin-borders.
Diese Rules habe ich erstellt um mir die Grenzen eines Bereiches anzeigen lassen zu können.
Land Areas
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Coastline | natural=coastline | Polyline (MinZoom=1, Color=#8BCCE5, Width=11:1;17:5, Curved=true) |
Water Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
River | waterway=river | Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:2;17:14, Curved=true) | |||
Stream | waterway=stream | Polyline (MinZoom=13, Color=lightblue, Width=13:1;17:6, Curved=true) | |||
Canal | waterway=canal | Polyline (MinZoom=5, Color=lightblue, Width=5:1;10:1;17:10, Curved=true) | |||
Riverbank | waterway=riverbank | Polygon (Color=lightblue) | |||
Land | natural=land | Polygon (Color=white) |
Other Land Features
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Contours | ele=* | for elevation contours generated by Srtm2Osm | |||
.Major | ValueNum(e,"ele") % 100 = 0 | Polyline (MinZoom=11, Color=#B0AD8852, Width=11:1;12:2, Curved=true) | Major contours (100m ones) | ||
.* | Polyline (MinZoom=12, Color=#B0AD8852, Width=1, Curved=true) | all other contours |
Other Ways
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Border | boundary=administrative | ||||
.level2 | admin_level=2 | Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level3 | admin_level=3 | Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level4 | admin_level=4 | Polyline (MinZoom=10, Color=black, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level5 | admin_level=5 | Polyline (MinZoom=1, Color=green, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level6 | admin_level=6 | Polyline (MinZoom=1, Color=blue, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level7 | admin_level=7 | Polyline (MinZoom=1, Color=red, DashStyle=DashDot, Width=1:1;9:1.5;17:6) | |||
.level8 | admin_level=8 | Polyline (MinZoom=12, Color=#A4A4A4, DashStyle=Dot, Width=1:1;9:1.5;5:5)) | |||
.level9 | admin_level=9 | Polyline (MinZoom=12, Color=#A4A4A4, DashStyle=Dot, Width=1:1;9:1.5;5:5)) | |||
.level10 | admin_level=10 | Polyline (MinZoom=12, Color=#A4A4A4, DashStyle=Dot, Width=1:1;9:1.5;5:5)) |