[MapProxy] Using local Mapserver binary
Christian Willmes
c.willmes at uni-koeln.de
Tue May 24 10:13:20 EDT 2011
On 24.05.2011 15:59, Oliver Tonnhofer wrote:
>
> On 24.05.2011, at 15:51, Christian Willmes wrote:
>> Thanks for the hint,
>> using `mapproxy-util serve-develop --debug mapproxy.yaml` I can see what
>> happens:
>>
>> [2011-05-24 15:36:54,566] mapproxy.source.request - INFO - CGI
>> http://localhost/usr/sbin/mapserv?styles=&map=%2Fvar%2Flocal%2Fgeodaten%2FBathymetrie%2Ferasedreal%2FSealevel.map&format=image%2Fpng&height=1104&bbox=-20037508.3428,-1565430.33928,1565430.33928,20037508.3428&layers=-10_Meter,-20_Meter,-30_Meter,-40_Meter,-50_Meter,-60_Meter,-70_Meter,-80_Meter,-90_Meter,-100_Meter,-110_Meter,-120_Meter,-130_Meter,-140_Meter,-150_Meter&service=WMS&width=1104&request=GetMap&srs=EPSG%3A900913&version=1.1.1
>> - 0.3 11
>>
>> Mapproxy seems to try to access an URL which does not exist:
>> http://localhost/usr/sbin/mapserv
>>
>> Correct would be http://localhost/mapserv
>
>
> No, this is not a real URL. It directly calls the mapserver as a CGI script. Your response looks too small (0.3kb).
>
> What does you Mapserver return when you request the same URL, i.e.:
>
>> http://localhost/mapserv?styles=&map=%2Fvar%2Flocal%2Fgeodaten%2FBathymetrie%2Ferasedreal%2FSealevel.map&format=image%2Fpng&height=1104&bbox=-20037508.3428,-1565430.33928,1565430.33928,20037508.3428&layers=-10_Meter,-20_Meter,-30_Meter,-40_Meter,-50_Meter,-60_Meter,-70_Meter,-80_Meter,-90_Meter,-100_Meter,-110_Meter,-120_Meter,-130_Meter,-140_Meter,-150_Meter&service=WMS&width=1104&request=GetMap&srs=EPSG%3A900913&version=1.1.1
>
> Regards,
> Oliver
>
When I put this URL in a browser I get the correctly rendered map as
expected.
I configured my mapserver using mod_fcgid, but this should not be a
problem or?
regards,
Christian
--
Christian Willmes
AG GIS & Fernerkundung | GIS & RS Group
Geographisches Institut | Institute of Geography
Universität zu Köln | University of Cologne
Tel.: +49 (0)221 470 6234
Fax.: +49 (0)221 470 2280
http://www.geographie.uni-koeln.de/gis
http://www.sfb806.de
More information about the MapProxy
mailing list