]> mj.ucw.cz Git - leo.git/blob - map.cf
Otherwise, ASSERT does not work.
[leo.git] / map.cf
1 Map {
2         # Data sources
3         Source {
4                 # Input file
5                 File dump.osm
6
7                 # File format:
8                 #       osmxml          OpenStreetMap XML
9                 #       fixed           Fixed objects (no File used, see FixedObjects section below)
10                 #       shape           ESRI shape file (partial support only)
11                 Format osmxml
12
13                 # MapCSS stylesheet to apply (multiple style-sheets are allowed)
14                 StyleSheet pruvodce.css
15         }
16
17         Source {
18                 File boundary/cz-boundary.osm
19                 Format osmxml
20                 StyleSheet pruvodce.css
21         }
22
23         # Source {
24         #       Format fixed
25         #       StyleSheet pruvodce.css
26         # }
27
28         # Projection of our map
29         Projection "+proj=utm +zone=33 +ellps=WGS84"
30
31         # Which part of the map should drawn (in projected coordinates)
32         MinX 292000
33         MaxX 780100
34         MinY 5377200
35         MaxY 5656800
36
37         # Draw on A3 paper
38         # PageWidth 420
39         # PageHeight 297
40
41         # Draw on A4 paper
42         PageWidth 297
43         PageHeight 210
44
45         # Clip output to the requested rectangle
46         Clip 1
47
48         # Rotate the map by 90 degrees
49         Rotate 0
50
51         # Draw blue border around the requested rectangle
52         DrawBorder 0
53
54         # Write SVG output here
55         SVGOutput output.svg
56 }
57
58 FixedObjects {
59         # Fixed objects may be placed at specific positions on the paper
60         # with specific tags. Remember to enable the "fixed" data source.
61         Object {
62                 X 100
63                 Y 100
64                 Tag legend logo
65         }
66 }
67
68 Debug {
69         # Dump map data exactly as parsed
70         DumpSource 0
71
72         # Dump map data after projection to Map.Projection
73         DumpAfterProj 0
74
75         # Dump map data after conversion to on-paper coordinates
76         DumpAfterScaling 0
77
78         # Dump intermediate representations of multipolygons
79         DumpMultipolygons 0
80
81         # Dump stylesheet as parsed
82         DumpCSS 0
83
84         # Dump styling decisions
85         DumpStyling 0
86
87         # Dump planning and drawing of symbols
88         DumpSymbols 0
89 }