On 02/07/07, Bradley Mclain <[EMAIL PROTECTED]> wrote:

Also just thought that I'd mention that my Mapserver is not properly set
up as a WMS and it will be quite difficult to do so so I'd rather use the
cgi mode of Mapserver. However when looking at the Mapserver examples I
failed to see anything at all which resembled this. It calls "
http://labs.metacarta.com/wms/vmap0"; but shouldn't there be a
"cgi-bin/mapserv?map=" somewhere.


The form the URL looks at the beginning is irrelevant for a servers
compliance with the WMS protocol.

There are many -- reasonably well documented -- ways how the
'cgi-bin/mapserv?/map=' can be hidden. See
http://mapserver.gis.umn.edu/docs/howto/cgi-wrapper-script.

But the first thing to test is if your server works at all -- outside the
OpenLayers client. Run something like

http://www.yunnanexplorer.com/cgi-bin/wms?request=getmap&service=wms&version=1.1&layers=earthquakes

in your browser (substituting your layer names and your URL). If your server
works, you should get a map image, if not an XML error message.

Once this is working, you can add your server to your OpenLayers client as a
WMS server (the HttpRequest bit will not work).

HTH

Ludwig
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to