Format osmxml
# MapCSS stylesheet to apply (multiple style-sheets are allowed)
- StyleSheet poskole.css
+ StyleSheet pruvodce.css
}
- Source {
- Format fixed
- StyleSheet poskole.css
- }
+ # Source {
+ # Format fixed
+ # StyleSheet pruvodce.css
+ # }
# Projection of our map
Projection "+proj=utm +zone=33 +ellps=WGS84"
# Which part of the map should drawn (in projected coordinates)
- MinX 464737
- MaxX 471140
- MinY 5552849
- MaxY 5557376
+ MinX 292000
+ MaxX 780100
+ MinY 5377200
+ MaxY 5656800
# Draw on A3 paper
- PageWidth 420
- PageHeight 297
+ # PageWidth 420
+ # PageHeight 297
# Draw on A4 paper
- # PageWidth 297
- # PageHeight 210
+ PageWidth 297
+ PageHeight 210
# Clip output to the requested rectangle
Clip 1
Rotate 0
# Draw blue border around the requested rectangle
- DrawBorder 0
+ DrawBorder 1
# Write SVG output here
SVGOutput output.svg
--- /dev/null
+/*** General settings ***/
+
+way::* {
+ linejoin: round;
+ linecap: round;
+ casing-linejoin: round;
+ casing-linecap: round;
+}
+
+/*
+ * Assignment of z-indices:
+ *
+ * 0 default
+ * 0.1 subtypes of landuse
+ * 1.x highways
+ * 2.x railways
+ * 4 tourist routes
+ * 5 icons
+ * 9 hack:front
+ * 10 power lines and similar overhead objects
+ *
+ * Assignment of major-z-indices:
+ *
+ * 1 (default for areas}
+ * 1.1 water way casing
+ * 1.2 water ways
+ * 1.3 water areas
+ * 2 (default for casing)
+ * 2.9 (default for line patterns)
+ * 3 (default for lines)
+ * 4 (default for points)
+ * 4.9 (default for line text)
+ * 5 (default for point text)
+ */
+
+/*** Highways ***/
+
+/*
+way[highway][area?!] {
+ color: #f00;
+ width: 0.3;
+}
+*/
+
+area[highway=residential],
+area[highway=unclassified],
+area[highway=service] {
+ fill-color: #fff;
+}
+
+area[highway=pedestrian],
+area[highway=footway],
+area[highway=path] {
+ fill-color: #ededed;
+}
+
+area[highway=track] {
+ fill-color: #dfcc66;
+}
+
+area[highway=platform],
+area[railway=platform] {
+ fill-color: #bbbbbb;
+}
+
+area[aeroway=runway],
+area[aeroway=taxiway],
+area[aeroway=helipad] {
+ fill-color: #bbc;
+ z-index: 1;
+}
+
+way[highway=motorway_link] {
+ color: #809bc0;
+ width: 0.5;
+ casing-color: #506077;
+ casing-width: 0.1;
+ z-index: 1.9;
+}
+
+way[highway=trunk_link] {
+ color: #a9dba9;
+ width: 0.25;
+ casing-color: #477147;
+ casing-width: 0.08;
+ z-index: 1.8;
+}
+
+way[highway=primary_link] {
+ color: #ec989a;
+ width: 0.15;
+ casing-color: #8d4346;
+ casing-width: 0.05;
+ z-index: 1.7;
+}
+
+way[highway=secondary_link] {
+ color: #fed7a5;
+ width: 0.1;
+ casing-color: #a37b48;
+ casing-width: 0.05;
+ z-index: 1.6;
+}
+
+way[highway=tertiary_link] {
+ color: #ffffb3;
+ width: 0.07;
+ casing-color: #bbb;
+ casing-width: 0.05;
+ z-index: 1.5;
+}
+
+way[highway=motorway] {
+ color: #809bc0;
+ width: 0.5;
+ casing-color: #506077;
+ casing-width: 0.1;
+ z-index: 1.9;
+}
+
+way[highway=trunk] {
+ color: #a9dba9;
+ width: 0.25;
+ casing-color: #477147;
+ casing-width: 0.08;
+ z-index: 1.8;
+}
+
+way[highway=primary] {
+ color: #ec989a;
+ width: 0.15;
+ casing-color: #8d4346;
+ casing-width: 0.05;
+ z-index: 1.7;
+}
+
+way[highway=secondary] {
+ color: #fed7a5;
+ width: 0.1;
+ casing-color: #a37b48;
+ casing-width: 0.05;
+ z-index: 1.6;
+}
+
+way[highway=tertiary] {
+ color: #ffffb3;
+ width: 0.07;
+ casing-color: #bbb;
+ casing-width: 0.05;
+ z-index: 1.5;
+}
+
+way[highway=road] {
+ color: #ddd;
+ width: 0.07;
+ casing-color: #999;
+ casing-width: 0.05;
+ z-index: 1;
+}
+
+way[highway=residential],
+way[highway=unclassified],
+way[highway=road],
+way[highway=living_street] {
+ color: #fff;
+ width: 0.07;
+ casing-color: #999;
+ casing-width: 0.05;
+ z-index: 1;
+}
+
+way[highway=service] {
+ color: #fff;
+ width: 0.05;
+ casing-color: #999;
+ casing-width: 0.03;
+ z-index: 1;
+}
+
+way[highway=proposed] {
+ width: 0;
+}