<div dir="ltr"><div>Hello,</div><div><br></div><div>I think some part of your need can be done in MapServer, look at the <strong>wms_layer_group</strong> layer metadata in <a href="https://www.mapserver.org/ogc/wms_server.html">https://www.mapserver.org/ogc/wms_server.html</a>. but all LAYERs will be always shown in MapServer.<br></div><div><br></div><div>Y.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 11 déc. 2020 à 15:55, Jesper Kempe via mapserver-users <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I have a basemap in Mapserver 7.4.3 presented as a WMS-layer.</div><div><br></div><div>As many maps it consists of landusage, roads, label and so on.</div><div>Each of these "layers" or parts of the map consist of many <layer> in the mapfile for different scales.</div><div>For example land0, land1.... and roads0, roads1 and so on. Much like <a href="https://mapserver.org/basemaps/index.html" target="_blank">https://mapserver.org/basemaps/index.html</a></div><div><br></div><div>Currently all layers are part of "GROUP default" and map renders correctly when asking for LAYERS=default.</div><div><br></div><div>Unfortunately all layers (land0,land1,roads0,road1...) are also show in the Capability.</div><div><br></div><div>What I would like have is instead a response in the capability where there are layers for "the main map" and also a grouped layer for all "zoom layers" i.e. roads0,roads1 combined to a roads layer.</div><div>For example the layers default, land and roads should be the only layers visible in the Capability and possible to render in a GetMap-request.</div><div>A GetMap request for LAYERS=roads should show all the separate roads* layers only.</div><div><br></div><div>Can this be done in Mapserver?</div><div><br></div><div>Thanks,</div><div>Jesper</div><div><br></div><div><br></div></div>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Yves Jacolin</div><div>Training and support manager - Team Manager<br>Camptocamp<br><br>Tel (France) : +33 4 58 48 20 43<br>Tel (Switzerland) : +41 21 619 10 43<br>Mob. : +33 6 18 75 42 21<br><br>email : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a><br><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>