[MapProxy] Using local Mapserver binary
olt at omniscale.de
Thu May 26 08:13:06 EDT 2011
On 26.05.2011, at 14:05, Oliver Tonnhofer wrote:
> On 26.05.2011, at 13:39, Christian Willmes wrote:
>> I directly tested it with the new release candidate 1.1.0rc1.
>> The issue regarding the local Mapserver remains, MapProxy try's to
>> access mapserver from the "wrong" URL -> http://localhost +
>> which results in requests to invalid URLs.
>> e.g. http://localhost/usr/sbin/mapserv?
> No, it doesn't request that URL. It calls the /path/to/mapserver/binary and passes everything behind the '?' as the QUERY_STRING. MapProxy just logs that call to CGI with a URL. I'll change that if that is confusing.
Ok, the logging should now look like:
[2011-05-26 14:09:19,740] mapproxy.source.request - INFO - CGI /Users/olt/dev/mapproxy-trunk/examples/mapserv:layers=osm&width=1184&version=1.1.1&bbox=86.484375,-48.515625,138.515625,3.515625&service=WMS&format=image%2Fpng&styles=&srs=EPSG%3A4326&request=GetMap&height=1184 - 0.1 40
The last two parts are the image size in KB and the duration of the response in ms.
That shouldn't solve your problem, but it's not so confusing anymore.
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn
More information about the MapProxy