[MapProxy] Using local Mapserver binary

Christian Willmes c.willmes at uni-koeln.de
Tue May 24 07:56:01 EDT 2011


Hello,

I'm trying to configure a local mapserver source (described here:
http://mapproxy.org/docs/nightly/sources.html#mapserver). I'm using
MapProxy 1.1.0b2.

The configuration using http on localhost works fine (see config snippet).

<---
  ms_sealevel:
    type: wms #mapserver
    wms_opts:
      version: 1.1.1
      featureinfo: true
      legendgraphic: true
    supported_srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:3785']
    req:
      url: http://localhost/mapserv?
      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
      map: /var/local/geodaten/Bathymetrie/erasedreal/Sealevel.map
#    mapserver:
#      binary: /usr/sbin/mapserv
#      working_dir: /
--->

When I try to access the local mapserv binary, it is not working, but I
also get no errors at all (not from apache not from mapproxy and not
from mapserver).
This is what the configuration snipped looks like fpr accessing the binary:

<---
  ms_sealevel:
    type: mapserver #wms
#    wms_opts:
#      version: 1.1.1
#      featureinfo: true
#      legendgraphic: true
#    supported_srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:3785']
    req:
#      url: http://localhost/mapserv?
      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
      map: /var/local/geodaten/Bathymetrie/erasedreal/Sealevel.map
    mapserver:
      binary: /usr/sbin/mapserv
      working_dir: /
--->

Is it maybe the working_dir? I only use full pathes to the sources in
the mapfile..

Thanks and best 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