]> mj.ucw.cz Git - leo.git/blob - map.cf
92a2435409b2412594140eb2a2845ac1f7599ccf
[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                 Format osmxml
11
12                 # MapCSS stylesheet to apply (multiple style-sheets are allowed)
13                 StyleSheet poskole.css
14         }
15
16         Source {
17                 Format fixed
18                 StyleSheet poskole.css
19         }
20
21         # Projection of our map
22         Projection "+proj=utm +zone=33 +ellps=WGS84"
23
24         # Which part of the map should drawn (in projected coordinates)
25         MinX 464737
26         MaxX 471140
27         MinY 5552849
28         MaxY 5557376
29
30         # Draw on A3 paper
31         PageWidth 420
32         PageHeight 297
33
34         # Draw on A4 paper
35         # PageWidth 297
36         # PageHeight 210
37
38         # Clip output to the requested rectangle
39         Clip 1
40
41         # Rotate the map by 90 degrees
42         Rotate 0
43
44         # Draw blue border around the requested rectangle
45         DrawBorder 0
46
47         # Write SVG output here
48         SVGOutput output.svg
49 }
50
51 FixedObjects {
52         # Fixed objects may be placed at specific positions on the paper
53         # with specific tags. Remember to enable the "fixed" data source.
54         Object {
55                 X 100
56                 Y 100
57                 Tag legend logo
58         }
59 }
60
61 Debug {
62         # Dump map data exactly as parsed
63         DumpSource 0
64
65         # Dump map data after projection to Map.Projection
66         DumpAfterProj 0
67
68         # Dump map data after conversion to on-paper coordinates
69         DumpAfterScaling 0
70
71         # Dump intermediate representations of multipolygons
72         DumpMultipolygons 0
73
74         # Dump stylesheet as parsed
75         DumpCSS 0
76
77         # Dump styling decisions
78         DumpStyling 0
79
80         # Dump planning and drawing of symbols
81         DumpSymbols 0
82 }