[mapserver-users] [SOLVED] Re: MapServer 6.0.1 ignoring WMS options?
Raffaele Morelli
raffaele.morelli at gmail.com
Mon Mar 5 23:56:51 PST 2012
2012/3/6 teknocreator <teknocreator at gmail.com>
> [SOLVED]
>
> Thanks for the replies, but first I apologize to Arman for not including
> the
> commas in the BBOX request line. I was looking at the mapserver C code and
> it's actually setup to handle either commas or spaces in the BBOX= option.
> So it looks like I cut and pasted by attempt without commas here. My
> initial attempts were with the commas and those also failed.
>
> As to the second reply by Mike Smith of not using the "mode=map"...okay, I
> see in the doc that it shouldn't be included in a WMS call. I tried that
> for one of the point layers we've defined and it worked!! THANKS for
> getting me further here!!
>
> But the reason that I had it in there is that I had tried removing
> "mode=map" with a raster layer that I'm also attempting to query. When I
> tried to remove the "mode=map" there, I received an error:
>
> <ServiceExceptionReport version="1.1.1">
> <ServiceException code="InvalidSRS">
> msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be
> valid for all requested layers.
>
>
Hi,
I have a similar issue with wms request from QGis, I've removed adding
wms_srs to each layer in the form of
"wms_srs" "EPSG:epsg_code"
However, layers are listed correctly whistl I can't load a single layer but
the raster (Data Elevation Model) and got a similar issue with bbox, QGis
always report that:
<ServiceException>
msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH
and HEIGHT must be between 1 and 1500000 pixels.
</ServiceException>
I can load the whole bunch by selecting the top layer but it's not really
the desired result
http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
Regards
-r
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120306/e8ea92ba/attachment.htm>
More information about the MapServer-users
mailing list