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

Lars Fricke fricke at gisberater.com
Wed Feb 11 04:34:32 PST 2015


Hi Jukka, hi List,

Sorry, false alarm. I had screwed up on a message pipeline so I'd read 
the images before they were there. That way I also hindered the images 
to be delivered and screwed up on the next request. So nothing is wrong 
with Mapserver and I am smarter than before ;-)

Best

Lars

Am 11.02.2015 um 12:03 schrieb Lars Fricke:
> Hi Jukka,
>
> Thank you for the fast response. If you say there should be an image, 
> maybe I'm doing something wrong in the receiving application. I will 
> check on that first and then come back with the result.
>
> Best
>
> Lars
>
> Am 11.02.2015 um 11:34 schrieb Rahkonen Jukka (MML):
>> Hi,
>>
>> Do you mean that you get nothing else than those lines  into 
>> ms_errorfile ever, not valid images at all?
>>
>> The log entry looks good to me. The line you copied from access.log 
>> has been a success "200" with "14068" bytes sent out which fits well 
>> for a small jpeg image. Could it be that your DOP20 source data is 
>> little bit sparse and some 256x256 sized tiles just do not contain 
>> any data? Then it would be an expected result that you get those 
>> lines into your ms_error.
>>
>> -Jukka Rahkonen-
>>
>> Lars Fricke wrote:
>>
>> 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
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>



More information about the mapserver-users mailing list