[mapserver-users] WMS request url gets misinterpreted calling on mapserver from python

Lars Fricke fricke at gisberater.com
Wed Feb 11 00:30:31 PST 2015


Hello List,

I have a very strange effect I am stuck with. I have a python server 
(Twisted) from where I make a WMS request to Mapserver. Now the strange 
thing is, if I issue the request from my python server, I get a
"msQueryByRect(): Search returned no results. No matching record(s) 
found." in ms_error.txt

If I take the very request string from the apache access log and put it 
into the browser, I get a nice image as result. So I assume the BBOX may 
be interpreted differently depending on the client? Or can this be an 
encoding issue?

Here's my line from access.log:
127.0.0.1 - - [11/Feb/2015:09:17:35 +0100] "GET 
/wms?SERVICE=WMS&FORMAT=image%2Fjpeg&REQUEST=GetMap&HEIGHT=256&SRS=EPSG%3A3857&VERSION=1.1.1&BBOX=1102680.5700419527%2C6719884.904662984%2C1102757.0070702378%2C6719961.341691271&LAYERS=DOP20&WIDTH=256&MAXNATIVEZOOM=20&TRANSPARENT=false 
HTTP/1.1" 200 14068 "-" "My Server"

I do not see anything in the error.log of Apache at that time.

Any help is highly appreciated. Thanks for taking the time!

Best

Lars



More information about the MapServer-users mailing list