Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/mapfile.vm @ 8730:cb33de3434a8
(issue1754) Proper subtitle handling for Radius
This deduplicates the subtitle and zoom / radius calculation code
by moving it out of the processors. Doing this fixes cases where
the subtitle would be removed when a the according filtered facet
was removed although it should still have shown the Range for example.
Range is now also added as a subtitle for the difference diagrams.
This adds some tasty hack (with cheese) to determine wether or
not the user has set the subtitle. See the comment in
getChartSubtitlePure in LongitudinalSectionGenerator2 for details.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 30 Apr 2015 13:06:51 +0200 |
parents | 069acf3cf45e |
children | 1fa03f3c9d3d |
rev | line source |
---|---|
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 MAP |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 NAME "FLYS-Map" |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
3 STATUS ON |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
4 SIZE 600 400 |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
5 MAXSIZE 4000 |
3918
2fdbe78a8fc2
Fixed various projection issues during map creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1816
diff
changeset
|
6 EXTENT 3233232.55407617 5303455.37850183 3421524.44644752 5585825.50888523 |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
7 UNITS DD |
1132
f4038b828f85
Little mapfile template improvement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1130
diff
changeset
|
8 SHAPEPATH "$SHAPEFILEPATH" |
1816
5364b86a0880
Improved styles of WMS layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1781
diff
changeset
|
9 FONTSET "$CONFIGDIR/mapserver/fontset.txt" |
5364b86a0880
Improved styles of WMS layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1781
diff
changeset
|
10 SYMBOLSET "$CONFIGDIR/mapserver/symbols.sym" |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
11 IMAGECOLOR 255 255 255 |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
12 PROJECTION |
3918
2fdbe78a8fc2
Fixed various projection issues during map creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1816
diff
changeset
|
13 "init=epsg:31467" |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
14 END |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
15 |
1166
865ee1e19c62
Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1132
diff
changeset
|
16 DEBUG 5 |
6831
8c7433b8656d
Backed out changeset 74a437805e2a
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6826
diff
changeset
|
17 CONFIG "MS_ERRORFILE" "/tmp/flys-user-wms.log" |
1166
865ee1e19c62
Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1132
diff
changeset
|
18 |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
19 WEB |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
20 METADATA |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
21 "wms_title" "FLYS Web Map Service" |
6979
4caa92a5be96
mapserver templates for flys.map and rivers.map: correcting the wms_onlineresource URL to partly help (issue1023)
Bernhard Reiter <bernhard@intevation.de>
parents:
6954
diff
changeset
|
22 "wms_onlineresource" "${MAPSERVERURL}user-wms" |
6085
b9a78f246ea3
Set WMS encoding correctly to UTF-8
Andre Heinecke <aheinecke@intevation.de>
parents:
5838
diff
changeset
|
23 "wms_encoding" "UTF-8" |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
24 "wms_accessconstraints" "none" |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
25 "wms_fees" "none" |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
26 "wms_addresstype" "postal" |
6954
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
27 "wms_address" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
28 "wms_city" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
29 "wms_stateorprovince" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
30 "wms_postcode" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
31 "wms_country" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
32 "wms_contactperson" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
33 "wms_contactorganization" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
34 "wms_contactelectronicmailaddress" "" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
35 "wms_contactvoicetelephone" "" |
6992
1a4df065de26
(issue1023) mapserver templates mapfile.vm, wsplgen_layer.vm explicitely adding the three projects, so that mapserver offers the in the capabilities.
Bernhard Reiter <bernhard@intevation.de>
parents:
6979
diff
changeset
|
36 "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467" |
6954
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
37 "wms_getmap_formatlist" "image/png,image/png; mode=24bit,image/jpeg" |
1130
e6dd52342eb7
Trigger the mapfile creation after WSPLGEN jobs have finished.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1129
diff
changeset
|
38 "ows_enable_request" "*" |
6954
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
39 "ows_sld_enabled" "false" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
40 "ows_title" "FLYS Web Map Service" |
8d983cc183bb
(issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents:
6831
diff
changeset
|
41 "ows_extent" "3233232 5303455 3421524 5585825" |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
42 END |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
43 END |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
44 |
1710
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
45 LEGEND |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
46 KEYSIZE 20 20 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
47 STATUS ON |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
48 TRANSPARENT ON |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
49 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
50 LABEL |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
51 COLOR 150 150 150 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
52 OUTLINECOLOR 255 255 255 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
53 TYPE truetype |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
54 FONT "FreeSans" |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
55 SIZE 12 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
56 POSITION AUTO |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
57 END |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
58 END |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
59 |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
60 ## Don't change the following lines. |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
61 #foreach ($LAYER in $LAYERS) |
1781
ef2300b450bf
Modified the process to create mapfiles.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1710
diff
changeset
|
62 include "$LAYER" |
1129
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
63 #end |
da3c3e286c88
Introduced a MapfileGenerator that creates Mapserver specific mapfiles based on WSPLGEN results read from filesystem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
64 END |