> -----Original Message----- > From: UMN MapServer Users List > [mailto:[EMAIL PROTECTED] On Behalf Of > Christopher Schmidt > Sent: 13 December, 2007 11:09 PM > To: [email protected] > Subject: Re: [UMN_MAPSERVER-USERS] HostGIS+OpenLayers WMS > requests to mapserver problems > > On Thu, Dec 13, 2007 at 08:26:09PM -0700, Gregor Mosheh wrote: > > Bradley McLain wrote: > > >I got it to > > >finally display again using the request shown below: > > > > > http://192.168.1.130/cgi-bin/mapserv?map=/var/www/mapfiles/mswmsrq.map > > > &service=wms&version=1.1.1&request=getmap&SRS=EPSG:4326&layers=grap,gr > > > cad,cadbd,propbd,fmbl,varbl&BBOX=144.841,-34.5838,146.344,-34.0477&for > > mat=image/png&width=800&height=600&styles= > > > > > > Seems pretty normal to me. A styles param is optional, > > A styles parameter is not optional according to the WMS 1.1 > spec, nor is it optional in MapServer 5.0. (This is probably > the single most "controversial" change in 5.0, and I believe > it's going away in 5.0.1.) >
Correct. After much debate, STYLES is now optional again in trunk (and forthcoming 5.0.1). > > It's also very normal to require the width, height, bbox, > and SRS, and > > format. If it was working before without them, defaulting > to whatever > > was in the mapfile, then that was a lax enforcement of WMS standard > > and you should be glad it's been fixed. ;) > > I disagree with this statement, but I do agree that those > parameters are required as part of the WMS spec, and if > you're using MS 5.0, it seems likely that this is the change > you are running into. > More info can be found w.r.t. this in the FAQ entry at: http://mapserver.gis.umn.edu/docs/faq/ogc-wms-getmap-required-parameters
