annotate artifacts/doc/conf/mapserver/river-mapfile.vm @ 8448:e98dbf72c9ec

(issue1733) Fix switch between location and distance This changes the enable methods to state switchers. Combining them avoids the problem that they could be out of sync.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 27 Oct 2014 12:52:00 +0100
parents 069acf3cf45e
children 1fa03f3c9d3d
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
6831
8c7433b8656d Backed out changeset 74a437805e2a
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6826
diff changeset
17 CONFIG "MS_ERRORFILE" "/tmp/flys-rivers-wms.log"
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
4702
13abfb1bcb75 Fix typo in class names and correct file path in floodmap.xml.
Christian Lins <christian.lins@intevation.de>
parents: 4633
diff changeset
21 "wms_title" "FLYS Rivers 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: 6831
diff changeset
22 "wms_onlineresource" "${MAPSERVERURL}river-wms"
6086
af29a0bc254a Also set encoding for river mapfile to UTF-8
Andre Heinecke <aheinecke@intevation.de>
parents: 5838
diff changeset
23 "wms_encoding" "UTF-8"
4633
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
24 "wms_accessconstraints" "none"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
25 "wms_fees" "none"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
26 "wms_addresstype" "postal"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
27 "wms_address" "Any Street"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
28 "wms_city" "Any City"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
29 "wms_stateorprovince" "Any state"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
30 "wms_postcode" "My Postalcode"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
31 "wms_country" "Any Country"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
32 "wms_contactperson" "Any Person"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
33 "wms_contactorganization" "Any Orga"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
34 "wms_contactelectronicmailaddress" "any-email@example.com"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
35 "wms_contactvoicetelephone" "Any's telephone number"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
36 "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
37 "ows_enable_request" "*"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
38 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
39 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
40
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
41 LEGEND
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
42 KEYSIZE 20 20
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
43 STATUS ON
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
44 TRANSPARENT ON
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
45
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
46 LABEL
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
47 COLOR 150 150 150
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
48 OUTLINECOLOR 255 255 255
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
49 TYPE truetype
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
50 FONT "FreeSans"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
51 SIZE 12
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
52 POSITION AUTO
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
53 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
54 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
55
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
56 ## Don't change the following lines.
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
57 #foreach ($LAYER in $LAYERS)
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
58 include "$LAYER"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
59 #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
60 END

http://dive4elements.wald.intevation.org