]> mj.ucw.cz Git - leo.git/blobdiff - map.cf
Introduced multiple data sources
[leo.git] / map.cf
diff --git a/map.cf b/map.cf
index a6ae531f17af7ca131a5d80431a7b567288cb0bc..c55a3e745f8f9df443d751584163314eee821034 100644 (file)
--- a/map.cf
+++ b/map.cf
@@ -1,6 +1,16 @@
 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
+               Format osmxml
+
+               # MapCSS stylesheet to apply (multiple style-sheets are allowed)
+               StyleSheet poskole.css
+       }
 
        # Projection of our map
        Projection "+proj=utm +zone=33 +ellps=WGS84"
@@ -28,9 +38,6 @@ Map {
        # Draw blue border around the requested rectangle
        DrawBorder 0
 
-       # MapCSS stylesheet to apply
-       StyleSheet poskole.css
-
        # Write SVG output here
        SVGOutput output.svg
 }