[ms4w-users] using ms4w as a WMS server
Mark Volz
MarkVolz at co.lyon.mn.us
Fri Jun 26 14:48:25 EST 2009
Hello,
I am using MS4W 2.3.1 with the Mapserver 5.2.2 upgrade and Geomoose as a
client. I would like to know how to set up a WMS server. I started to
follow the instructions in the mapserver documentations however I how to
format the "wms_onlineresource" correctly.
The mapfile is located at c:\ms4w\apps\geomoose2\maps\data\transit\roads.map
1) Would my online resource be:
"wms_onlineresource"
"http://localhost/cgi-bin/mapserv?map=c:\ms4w\apps\geomoose2\maps\data\transi
t\roads.map&"
2) would I supply the same connection string to my clients?
http://localhost/cgi-bin/mapserv?map=c:\ms4w\apps\geomoose2\maps\data\transit
\roads.map&
p.s. yes I do realize that I am using localhost. I will change that to my
actual server once I get things running.
****************************
MAP FILE:
NAME 'RoadsWMS'
projection
"init=epsg:26915"
end
WEB
...
METADATA
"wms_title" "WMS Demo Server"
"wms_onlineresource" "
http://localhost/cgi-bin/mapserv?map=c:\ms4w\apps\geomoose2\maps\data\transit
\roads.map&"
"wms_srs" "EPSG:26915"
END
END
.....
LAYER
NAME "Roads"
projection
"init=epsg:26915"
end
metadata
"wms_title" "roads"
end #metadata
...
Thanks
Mark Volz
GIS Specialist
Lyon County, MN
(507) 532-8218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20090626/1d43203c/attachment.htm
More information about the ms4w-users
mailing list