annotate artifacts/doc/conf/mapserver/mapfile.vm @ 9746:1a1e627b1483 3.2.x

Let client log to stdout
author Tom Gottfried <tom@intevation.de>
date Tue, 30 Aug 2022 15:02:10 +0200
parents afad1fac70fb
children
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
9738
afad1fac70fb Cleanup mapfile templating a bit
Tom Gottfried <tom@intevation.de>
parents: 8838
diff changeset
2 NAME "D4E-River-Map"
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
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
8838
1fa03f3c9d3d Use the webservers log for MapServer.
Tom Gottfried <tom@intevation.de>
parents: 7032
diff changeset
17 CONFIG "MS_ERRORFILE" "stderr"
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
9738
afad1fac70fb Cleanup mapfile templating a bit
Tom Gottfried <tom@intevation.de>
parents: 8838
diff changeset
21 "wms_title" "D4E River Web Map Service"
6085
b9a78f246ea3 Set WMS encoding correctly to UTF-8
Andre Heinecke <aheinecke@intevation.de>
parents: 5838
diff changeset
22 "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
23 "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
24 "wms_fees" "none"
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
25 "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
26 "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
27 "ows_enable_request" "*"
6954
8d983cc183bb (issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents: 6831
diff changeset
28 "ows_sld_enabled" "false"
9738
afad1fac70fb Cleanup mapfile templating a bit
Tom Gottfried <tom@intevation.de>
parents: 8838
diff changeset
29 "ows_title" "D4E River Web Map Service"
6954
8d983cc183bb (issue1023) Start returning more useful information
Andre Heinecke <aheinecke@intevation.de>
parents: 6831
diff changeset
30 "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
31 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
32 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
33
1710
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
34 LEGEND
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
35 KEYSIZE 20 20
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
36 STATUS ON
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
37 TRANSPARENT ON
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
38
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
39 LABEL
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
40 COLOR 150 150 150
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
41 OUTLINECOLOR 255 255 255
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
42 TYPE truetype
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
43 FONT "FreeSans"
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
44 SIZE 12
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
45 POSITION AUTO
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
46 END
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
47 END
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
48
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
49 ## 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
50 #foreach ($LAYER in $LAYERS)
1781
ef2300b450bf Modified the process to create mapfiles.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1710
diff changeset
51 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
52 #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
53 END

http://dive4elements.wald.intevation.org