Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/river-mapfile.vm @ 9738:afad1fac70fb 3.2.x
Cleanup mapfile templating a bit
_ Update names and titles
_ Skip wms_onlineresource because it's set automatically
_ Contact information is optional according to WMS specification
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 25 Jul 2022 16:21:34 +0200 |
parents | 1fa03f3c9d3d |
children |
rev | line source |
---|---|
4633
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
1 MAP |
4702
13abfb1bcb75
Fix typo in class names and correct file path in floodmap.xml.
Christian Lins <christian.lins@intevation.de>
parents:
4633
diff
changeset
|
2 NAME "Rivers" |
4633
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
3 STATUS ON |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
4 SIZE 600 400 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
5 MAXSIZE 4000 |
4809
8062b571884d
Bugs in generated RiverAxis Mapfile fixed. Now the river axes are drawn by the WMS.
Christian Lins <christian.lins@intevation.de>
parents:
4703
diff
changeset
|
6 #EXTENT 3233232.55407617 5303455.37850183 3421524.44644752 5585825.50888523 |
4633
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
7 UNITS DD |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
8 SHAPEPATH "$SHAPEFILEPATH" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
9 FONTSET "$CONFIGDIR/mapserver/fontset.txt" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
10 SYMBOLSET "$CONFIGDIR/mapserver/symbols.sym" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
11 IMAGECOLOR 255 255 255 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
12 PROJECTION |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
13 "init=epsg:31467" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
14 END |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
15 |
4809
8062b571884d
Bugs in generated RiverAxis Mapfile fixed. Now the river axes are drawn by the WMS.
Christian Lins <christian.lins@intevation.de>
parents:
4703
diff
changeset
|
16 DEBUG 3 |
8838
1fa03f3c9d3d
Use the webservers log for MapServer.
Tom Gottfried <tom@intevation.de>
parents:
7032
diff
changeset
|
17 CONFIG "MS_ERRORFILE" "stderr" |
4633
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
18 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
19 WEB |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@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" |
6086
af29a0bc254a
Also set encoding for river mapfile to UTF-8
Andre Heinecke <aheinecke@intevation.de>
parents:
5838
diff
changeset
|
22 "wms_encoding" "UTF-8" |
4633
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
23 "wms_accessconstraints" "none" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
24 "wms_fees" "none" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
25 "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
26 "ows_enable_request" "*" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
27 END |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
28 END |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
29 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
30 LEGEND |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
31 KEYSIZE 20 20 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
32 STATUS ON |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
33 TRANSPARENT ON |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
34 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
35 LABEL |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
36 COLOR 150 150 150 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
37 OUTLINECOLOR 255 255 255 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
38 TYPE truetype |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
39 FONT "FreeSans" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
40 SIZE 12 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
41 POSITION AUTO |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
42 END |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
43 END |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
44 |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
45 ## Don't change the following lines. |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
46 #foreach ($LAYER in $LAYERS) |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
47 include "$LAYER" |
fc52ee878412
Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff
changeset
|
48 #end |
5269
b331742ba78d
Use the same structure for the default MS_ERRORFILE in rivers.map that
Andre Heinecke <aheinecke@intevation.de>
parents:
4809
diff
changeset
|
49 END |