Skip to content

Commit 08e03b1

Browse files
authored
Merge pull request #2 from geographika/geoext-demo
[WIP] Update Itasca map for OSGeoLive GeoExt demo
2 parents 20b8e66 + b137fda commit 08e03b1

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

itasca.map

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ MAP
5656
END
5757
END
5858

59+
OUTPUTFORMAT
60+
NAME "geojson"
61+
DRIVER "OGR/GEOJSON"
62+
MIMETYPE "application/json"
63+
FORMATOPTION "FORM=SIMPLE"
64+
FORMATOPTION "STORAGE=memory"
65+
END
66+
5967
#
6068
# Start of web interface definition (including WMS enabling metadata)
6169
#
@@ -67,19 +75,20 @@ MAP
6775
MAXSCALE 1550000
6876

6977
# change the next two lines to match your setup
70-
IMAGEPATH "/usr/local/www/docs_maps/tmp/"
78+
IMAGEPATH "/var/www/html/tmp/"
7179
IMAGEURL "/tmp/"
7280

7381
METADATA
7482
WMS_TITLE "MapServer Itasca Demo"
7583
WMS_ABSTRACT "This is a MapServer demo application for Itasca County located in north central Minnesota."
7684
WMS_ACCESSCONSTRAINTS "none"
77-
WMS_ENABLE_REQUEST "*"
85+
OWS_ENABLE_REQUEST "*"
7886

7987
# change this value to match your setup
80-
WMS_ONLINERESOURCE "http://localhost.localdomain/mapserver_demos/itasca/index.html"
81-
82-
WMS_SRS "EPSG:26915"
88+
OWS_ONLINERESOURCE "http://localhost/cgi-bin/mapserv?map=/usr/local/www/docs_maps/mapserver_demos/itasca/itasca.map&"
89+
WFS_SRS "EPSG:26915 EPSG:3857"
90+
"wfs_getfeature_formatlist" "gml,geojson"
91+
WMS_SRS "EPSG:26915 EPSG:3857"
8392
END
8493
END
8594

@@ -157,7 +166,7 @@ MAP
157166
LAYER
158167
NAME ctybdpy2
159168
TYPE POLYGON
160-
STATUS DEFAULT
169+
STATUS OFF
161170
DATA ctybdpy2
162171

163172
# no need for a background IF the USGS quads are being drawn
@@ -422,6 +431,9 @@ MAP
422431
NAME airports
423432
TYPE POINT
424433
DATA airports
434+
PROJECTION
435+
'init=epsg:26915'
436+
END
425437
STATUS OFF
426438
CLASS
427439
NAME 'Airports'
@@ -442,6 +454,7 @@ MAP
442454
WMS_TITLE "Airports"
443455
WMS_ABSTRACT "Airport runways for Itasca County."
444456
WMS_SRS "EPSG:26915"
457+
"gml_include_items" "all"
445458
END
446459
END
447460

0 commit comments

Comments
 (0)