annotate gnv-artifacts/doc/conf/maptemplates/mapfile.vm @ 1111:19182eaccc8d

Added a prefix for WMS layers to prevent the mapserver from generating invalid xml that would end in a bug (issue314, issue315). gnv-artifacts/trunk@1245 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Jun 2010 16:35:36 +0000
parents 9336d313f8e1
children
rev   line source
622
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 MAP
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2 NAME "GNV-Map"
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 STATUS ON
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4 SIZE 600 400
1067
9336d313f8e1 Modified the mapfiletemplate so that it is possible to request images which with or hight are up to 4000 pixel
Tim Englich <tim.englich@intevation.de>
parents: 871
diff changeset
5 MAXSIZE 4000
622
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
6 EXTENT -1 53 11 58
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7 UNITS DD
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8 SHAPEPATH "../shapefiles"
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
9 FONTSET "fontset.txt"
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10 IMAGECOLOR 255 255 255
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
11 PROJECTION
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 "init=epsg:4326"
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 END
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14
840
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
15 WEB
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
16 METADATA
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
17 "wms_title" "GNV Web Map Service"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
18 "wms_onlineresource" "$MAPSERVERURL"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
19 "wms_accessconstraints" "none"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
20 "wms_fees" "none"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
21 "wms_addresstype" "postal"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
22 "wms_address" "Any Street"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
23 "wms_city" "Any City"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
24 "wms_stateorprovince" "Any state"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
25 "wms_postcode" "My Postalcode"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
26 "wms_country" "Any Country"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
27 "wms_contactperson" "Any Person"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
28 "wms_contactorganization" "Any Orga"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
29 "wms_contactelectronicmailaddress" "any-email@example.com"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
30 "wms_contactvoicetelephone" "Any's telephone number"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
31 "wms_srs" "EPSG:4326 EPSG:32631 EPSG:32632 EPSG:32633"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
32 "wms_feature_info_mime_type" "text/html"
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
33 END
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
34 END
47578d91c4f0 Added a metadata section into the mapfile and feed it with the MapServer URL (issue235).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 622
diff changeset
35
871
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
36 SYMBOL
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
37 NAME 'point'
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
38 TYPE ELLIPSE
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
39 POINTS
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
40 1 1
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
41 END
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
42 FILLED TRUE
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
43 END
7fd005b80c21 Enlarge points in default mapserver template for layer product and use yellow to color points and lines.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 840
diff changeset
44
622
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
45 ## Don't change the following lines.
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
46 $LAYERS
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
47
89aca25642d6 Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
48 END

http://dive4elements.wald.intevation.org