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