]> mj.ucw.cz Git - leo.git/blobdiff - map.cf
Simplify: Merging of ways
[leo.git] / map.cf
diff --git a/map.cf b/map.cf
index e605403d5f6a6a654c8cc6f985177abc340f69a1..bb1dae9edf6c64c1d50acc230610ac82d121296c 100644 (file)
--- a/map.cf
+++ b/map.cf
@@ -1,37 +1,70 @@
 Map {
-       # Source file with XML map of OSM data
-       XMLInput dump.osm
+       # Data sources
+       Source {
+               # Input file
+               File dump.osm
+
+               # File format:
+               #       osmxml          OpenStreetMap XML
+               #       fixed           Fixed objects (no File used, see FixedObjects section below)
+               #       shape           ESRI shape file (partial support only)
+               Format osmxml
+
+               # MapCSS stylesheet to apply (multiple style-sheets are allowed)
+               StyleSheet pruvodce.css
+       }
+
+       Source {
+               File boundary/cz-boundary.osm
+               Format osmxml
+               StyleSheet pruvodce.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 the map by 90 degrees
+       Rotate 0
+
        # Draw blue border around the requested rectangle
        DrawBorder 0
 
-       # MapCSS stylesheet to apply
-       StyleSheet poskole.css
-
        # Write SVG output here
        SVGOutput output.svg
 }
 
+FixedObjects {
+       # Fixed objects may be placed at specific positions on the paper
+       # with specific tags. Remember to enable the "fixed" data source.
+       Object {
+               X 100
+               Y 100
+               Tag legend logo
+       }
+}
+
 Debug {
        # Dump map data exactly as parsed
        DumpSource 0