[MapProxy] wms layer name
    Oliver Tonnhofer 
    olt at omniscale.de
       
    Mon Jan 28 08:38:58 PST 2013
    
    
  
On 28.01.2013, at 16:34, Seth Ellingson wrote:
> Hi all,
>   I have recently discovered something very strange in regards to how I name my layers in MapProxy.  I am using MapServer as my wms provider, and therefore I am using cgi files to call the service.  Mapproxy is also installed on the same server.
> 
> ex. http://localhost/cgi-bin/layerName.cgi
> 
> That's fine, but for the service to work in mapproxy, I must name the layer (in the 'layers' section of mapproxy.yaml) exactly what the cgi file is named, in this case it would have to be named 'layerName'.  Is this absolutely necessary? Or is there something that I am doing wrong?  I have several mosaics being served from this WMS server, and it appears to be the same with all of them.  
MapProxy just adds the layers to the WMS URL. So it will request http://localhost/cgi-bin/layerName.cgi?service=WMS&request=GetMap&layers=layerName&...
You should look at your CGI wrapper/MapServer config.
Regards,
Oliver
-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn
    
    
More information about the MapProxy
mailing list