MapServer & IWS 8.0 : Connectiontype WMS

Chris Tweedie chrislist at NARX.NET
Thu Feb 22 06:55:25 EST 2007


There has been various discussions on this issue but looks like it still hasnt been resolved.

Fabio, the fix is minor and requires switching some boolean flags to false on the parameters (to stop the unnecessary encoding)

If you take a look at mapwms.c its fairly straight forward to resolve and is about 3 line changes. From memory the BBOX, Styles and Layers parameter definately need to be changed to false

Regards,

Chris Tweedie

On Thu, 22 Feb 2007 11:40:13 +0100, "Bart van den Eijnden (OSGIS)" <bartvde at OSGIS.NL> wrote:
> Hi Fabio,
> 
> this behaviour is called url encoding, but I believe Mapserver is not
> doing
> this completely according to the WMS spec.
> 
> This post by Keith Pomakis from Cubewerx in the OpenLayers bug system
> describes the issue nicely:
> 
> http://trac.openlayers.org/ticket/491
> 
> So what you should do is open up a bug report for this in Mapserver, as it
> should not be urlencoding the comma in BBOX.
> 
> Best regards,
> Bart
> 
> Fabio D'Ovidio schreef:
>> Hi!
>> I have a problem with mapserver 4.8.3 connectiontype WMS to IWS 8.0
> (Image
> Web Server 8.0) on Windows Server 2003 and IIS 6.0
>>
>> When I set in the layer object this connection :
>>
>> CONNECTIONTYPE WMS CONNECTION
> "http://myserver/ecwp/ecw_wms.dll?REQUEST=Getmap&VERSION=1.1.0&SERVICE=WM
>> S&layers=SUD_PUGLIA&styles=&SRS=EPSG:4326&format=image/png"
>>
>> the characters "." and "," are trasformed in ASCII Hex code and so the
> BBOX (that i pass to mapserver request) changes from :
>>
>>
> BBOX=14.696444805187044,39.710853059558424,18.889601564329261,42.33017784967
>> 0967
>>
>> to :
>>
>> BBOX=14%2E6990953467541%2C39%2E7137634204363%2C18%2E8869510227622%2
>> C42%2E3272674887931
>>
>> What can I do ?
>>
>> Thanks
>>
>> Fabio
>>
>>
>>
> 
> 
> 
--
Chris Tweedie



More information about the mapserver-users mailing list