]> mj.ucw.cz Git - leo.git/blob - map.cf
Labelling: Warning and FIXME in cut_edge
[leo.git] / map.cf
1 Map {
2         # Data sources
3         Source {
4                 # Input file
5                 File lada.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         # Projection of our map
18         Projection "+proj=utm +zone=33 +ellps=WGS84"
19
20         # Which part of the map should drawn (in projected coordinates)
21         MinX 466902
22         MaxX 468293
23         MinY 5615902
24         MaxY 5616938
25
26         # Draw on A3 paper
27         PageWidth 420
28         PageHeight 297
29
30         # Draw on A4 paper
31         # PageWidth 297
32         # PageHeight 210
33
34         # Clip output to the requested rectangle
35         Clip 0
36
37         # Rotate the map by 90 degrees
38         Rotate 0
39
40         # Draw blue border around the requested rectangle
41         DrawBorder 1
42
43         # Write SVG output here
44         SVGOutput output.svg
45 }
46
47 Debug {
48         # Dump map data exactly as parsed
49         DumpSource 0
50
51         # Dump map data after projection to Map.Projection
52         DumpAfterProj 0
53
54         # Dump map data after conversion to on-paper coordinates
55         DumpAfterScaling 0
56
57         # Dump intermediate representations of multipolygons
58         DumpMultipolygons 0
59
60         # Dump stylesheet as parsed
61         DumpCSS 0
62
63         # Dump styling decisions
64         DumpStyling 0
65
66         # Dump planning and drawing of symbols
67         DumpSymbols 0
68 }
69
70 Evolution {
71         # Number of individuals in each generation
72         PopSize 50
73
74         # Enhance number of individuals created by elitisc to fit population size
75         FitSize 1
76
77         # Terminating condition
78         # 1 -- penalty reached, 2 -- stagnation, 3 -- iteration limit
79         TermCond 3
80         PenaltyBound 100
81         StagnationBound 10
82         IterationLimit 200
83
84         # Create that part of generation by breeding
85         BreedPopSize 0.45
86         # Use that part of best individuals for parent selection
87         BreedNumBest 0.9
88         # Probability of children mutation
89         MutateChild 0.6
90
91         # Create that part of generation by mutation
92         MutatePopSize 0.45
93         # Use that part of best individuals for individual selection
94         MutateNumBest 0.9
95         # Probability of moving label
96         MutateMoveBound 0.1
97         # Probability of regeneration label coordinates
98         MutateRegenBound 0.05
99         # Probability of changing label variant
100         MutateChvarBound 0.1
101
102         ElitePopSize 0.1
103
104         # Maximal length of line section in milimeters
105         MaxSectionLenght 80
106         # Section's length may exceed limit by at most [mm]
107         MaxSectionOverlay 10
108 }