On 3/10/2011 1:59 PM, Yewondwossen Assefa wrote:
nipped>
<ServiceException code="LayerNotDefined">
msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in
the LAYERS parameter.

The layer is set and is valid, its the same request I make to the
prior version of mapscript and it works fine.

I did have to modify my map file just a bit (commented out the ANGLE
and label backgroundcolor), but all the layers are still there.

This could be related to that fact that you should enable ows request
(http://mapserver.org/development/rfc/ms-rfc-67.html)

"ows_enable_request" "*"


best regards,



-Andy

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




Ga! Yep. Sort of. My SERVICE is set to WMS not OWS so I completely skipped over it, but I see, reading further there is also wms_enable_request.

I enabled both (and either one individually to test) and now I dont get an error, but I also dont get an image back. Might be some other mapfile change. I'll go threw it again.

Thanks (and you too Tamas)

-Andy
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to