<p dir="ltr">Hi Andrey,</p>
<p dir="ltr">That's the expected behaviour and how the WMS spec works. The GetCapabilities request returns all layers available. The GetMap request allows you to specify one or more comma separated layer names that will be present in the response.</p>

<p dir="ltr">Hope that helps,</p>
<p dir="ltr">Matt.</p>
<div class="gmail_quote">On 15 Apr 2013 16:11, "Andrey Maraev" <<a href="mailto:asmaraev@gmail.com">asmaraev@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br clear="all"><div>Hello!</div><div>When I use WMS request: <a href="http://mapproxy/service" target="_blank">http://mapproxy/service</a>? I see 3 my layers with the different wms sources. Like -</div><div>

layers:</div><div>-name 1</div><div>-name 2</div><div>-name 3</div><div>...</div><div>How to choise just one of the layers for my client with wms link. E.g. If I use <a href="http://mapproxy/service?layers=2" target="_blank">http://mapproxy/service?layers=2</a> I see 3 layers in getcapabilities request anywhere</div>

<div><br></div><div> </div>-- <br>lernen,lernen und lernen<br>
</div>
<br>_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
<br></blockquote></div>