[Cartoweb-users] help with wms layer
Kenton_Williams at umit.maine.edu
Wed Jun 7 07:51:40 EDT 2006
I'm trying to add a WMS layers to my mapfiles and I'm having difficulties getting it to work. Here's my layer definition from my Mapfile:
Because I couldn't get it to work in Cartoweb, I tried to get it to render using the shp2img program that comes with Mapserver. I get the following error from Mapserver (running shp2img):
msDrawMap(): WMS connection error. Failed to draw WMS layer named 'jpl_landsat7'. This most likely happened because the remote WMS server returned an invalid image, and XML exception or another unexpected result in response to the GetMap request.
Also check and make sure that the layer's connection URL is valid.
I don't know exactly what I did incorrectly, since I checked the URL (even copy/pasted it from the JPL site) and have included all of the required information according to the documentation.
If anyone could offer a suggestion, I'd appreciate it. Thanks!
More information about the Cartoweb-users