]> mj.ucw.cz Git - leo.git/blobdiff - map.cf
Labelling: Bugfixes in get_closure
[leo.git] / map.cf
diff --git a/map.cf b/map.cf
index e605403d5f6a6a654c8cc6f985177abc340f69a1..3f3a70b8eb85f0ef53988a321cf3b95f0cc00bb2 100644 (file)
--- a/map.cf
+++ b/map.cf
@@ -1,15 +1,27 @@
 Map {
-       # Source file with XML map of OSM data
-       XMLInput dump.osm
+       # Data sources
+       Source {
+               # Input file
+               File lada.osm
+
+               # File format:
+               #       osmxml          OpenStreetMap XML
+               #       fixed           Fixed objects (no File used, see FixedObjects section below)
+               #       shape           ESRI shape file (partial support only)
+               Format osmxml
+
+               # MapCSS stylesheet to apply (multiple style-sheets are allowed)
+               StyleSheet poskole.css
+       }
 
        # Projection of our map
        Projection "+proj=utm +zone=33 +ellps=WGS84"
 
        # Which part of the map should drawn (in projected coordinates)
-       MinX 464737
-       MaxX 471140
-       MinY 5552849
-       MaxY 5557376
+       MinX 466902
+       MaxX 468293
+       MinY 5615902
+       MaxY 5616938
 
        # Draw on A3 paper
        PageWidth 420
@@ -20,13 +32,13 @@ Map {
        # PageHeight 210
 
        # Clip output to the requested rectangle
-       Clip 1
+       Clip 0
 
-       # Draw blue border around the requested rectangle
-       DrawBorder 0
+       # Rotate the map by 90 degrees
+       Rotate 0
 
-       # MapCSS stylesheet to apply
-       StyleSheet poskole.css
+       # Draw blue border around the requested rectangle
+       DrawBorder 1
 
        # Write SVG output here
        SVGOutput output.svg
@@ -54,3 +66,52 @@ Debug {
        # Dump planning and drawing of symbols
        DumpSymbols 0
 }
+
+Labelling {
+       # Maximal length of line section in milimeters
+       MaxSectionLenght 80
+       # Section's length may exceed limit by at most [mm]
+       MaxSectionOverlay 10
+       # Bitmap granularity (bitmap points per milimeter)
+       BitmapGranularity 1
+}
+
+Evolution {
+       # Number of individuals in each generation
+       PopSize 50
+
+       # Enhance number of individuals created by elitisc to fit population size
+       FitSize 1
+
+       # Terminating condition
+       # 1 -- penalty reached, 2 -- stagnation, 3 -- iteration limit
+       TermCond 3
+       PenaltyBound 100
+       StagnationBound 10
+       IterationLimit 200
+
+       # Ranking parameters
+       DistanceWeight  1
+       OmittmentWeight 1
+       OverlapWeight   1
+
+       # Create that part of generation by breeding
+       BreedPopSize 0.45
+       # Use that part of best individuals for parent selection
+       BreedNumBest 0.9
+       # Probability of children mutation
+       MutateChild 0.6
+
+       # Create that part of generation by mutation
+       MutatePopSize 0.45
+       # Use that part of best individuals for individual selection
+       MutateNumBest 0.9
+       # Probability of moving label
+       MutateMoveBound 0.1
+       # Probability of regeneration label coordinates
+       MutateRegenBound 0.05
+       # Probability of changing label variant
+       MutateChvarBound 0.1
+
+       ElitePopSize 0.1
+}