[MapProxy] Space in Layername

Jäger, Frank (KRZ) F.Jaeger at KRZ.DE
Wed Dec 11 04:54:01 PST 2013


> -----Ursprüngliche Nachricht-----
> Von: Oliver Tonnhofer [mailto:olt at omniscale.de]
> Betreff: Re: [MapProxy] Space in Layername


> On 10.12.2013, at 15:00, Jäger, Frank (KRZ) wrote:
> > YAML: How to code a Space in  the layername?
> > sources: ["wms_src:the layer"]
> 
> That should work. I tested it with MapProxy 1.6 and it made requests with
> proper URL encoding (i.e. "&layers=the+layer").
> What URL do you see in the source requests logs or serve-develop output)?
> 
> Regards,
> Oliver

Maybe the problem is the WMS-Server. It's an ArcGIS 9 and - no - it's not under my control.

GetMap says: "Could not get any sources: no image returned from source WMS"

wms Feature Info answers: 

<ServiceException code="LayerNotDefined">
Parameter 'layer(s)' contains unacceptable value: Umringe+Kreis
</ServiceException>

The '+' is there but has to be removed on servers side to fit the Layer-Name.

Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7618 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20131211/c191e2e0/attachment.bin>


More information about the MapProxy mailing list