Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/mapfile.vm @ 6740:68c7b5811c4f
Cosmetics, docs, in range of issue1393.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 01 Aug 2013 11:58:25 +0200 |
parents | cd6947eaa5ed |
children | 74a437805e2a |
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 |
6278
cd6947eaa5ed
Revert halfhearted logfile move. (r6127)
Andre Heinecke <aheinecke@intevation.de>
parents:
6127
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" |
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
|
22 "wms_onlineresource" "$MAPSERVERURL" |
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" |
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
|
27 "wms_address" "Any Street" |
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
|
28 "wms_city" "Any City" |
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
|
29 "wms_stateorprovince" "Any state" |
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
|
30 "wms_postcode" "My Postalcode" |
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 "wms_country" "Any Country" |
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 "wms_contactperson" "Any Person" |
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 "wms_contactorganization" "Any Orga" |
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
|
34 "wms_contactelectronicmailaddress" "any-email@example.com" |
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
|
35 "wms_contactvoicetelephone" "Any's telephone number" |
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
|
36 "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467" |
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
|
37 "wms_feature_info_mime_type" "text/html" |
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" "*" |
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
|
39 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
|
40 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
|
41 |
1710
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
42 LEGEND |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
43 KEYSIZE 20 20 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
44 STATUS ON |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
45 TRANSPARENT ON |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
46 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
47 LABEL |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
48 COLOR 150 150 150 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
49 OUTLINECOLOR 255 255 255 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
50 TYPE truetype |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
51 FONT "FreeSans" |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
52 SIZE 12 |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
53 POSITION AUTO |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
54 END |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
55 END |
055f32a5388a
Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1166
diff
changeset
|
56 |
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
|
57 ## 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
|
58 #foreach ($LAYER in $LAYERS) |
1781
ef2300b450bf
Modified the process to create mapfiles.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1710
diff
changeset
|
59 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
|
60 #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
|
61 END |