[mapserver-users] wms and itasca demo
Jeff McKenna
jmckenna at gatewaygeomatics.com
Sun Jun 8 11:42:10 PDT 2008
um, you should use that doc to read about the wms_onlineresource URL
(it should point to your mapserv executable), and you should follow
the "Test your WMS Server" section of that doc to test the
capabilities in the browser (no client, such as qgis, is needed) and
look for errors or warnings. You might also want to follow the
"MapServer OGC workshop": http://ms-ogc-workshop.maptools.org/
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 8-Jun-08, at 1:19 PM, Chris H wrote:
> Greets
>
> mapserver nubie and trying the itasca demo which works fine via the
> web
> interface.
>
> From my reading of
> http://mapserver.gis.umn.edu/docs/howto/wms_server/#setup-a-mapfile-for-your-wms
> the basic configuration (minus layers) is activated by default in
> the demo.
>
> -------------------
> # Start of web interface definition (including WMS enabling metadata)
> #
> WEB
> HEADER templates/header.html
> TEMPLATE "set in index.html"
> FOOTER templates/footer.html
> MINSCALE 1000
> MAXSCALE 1550000
> IMAGEPATH "set in index.html"
> IMAGEURL "set in index.html"
> METADATA
> WMS_TITLE "UMN MapServer Itasca Demo"
> WMS_ABSTRACT "This is a UMN MapServer application for Itasca
> County
> located in north central Minnesota."
> WMS_ACCESSCONSTRAINTS "none"
>
> # change this value to match your setup
> WMS_ONLINERESOURCE "http://localhost/workshop/itasca/index.html"
>
> WMS_SRS "EPSG:26915"
> END
> END
> -------------------------eof-----
>
> Yet despite which ever URL I call from qgis I get different errors,
> mostly 404
> or the alternative:
>
> Could not get WMS capabilities: tag mismatch at line 30 column 9
> This is probably due to an incorrect WMS Server URL.
> Tried URL: http://localhost/workshop/?SERVICE=WMS&REQUEST=GetCapabilities
>
> Any insight would be appreciated.
>
> Best and many thanks
>
> --
> /ch
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list