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