[mapserver-users] Basemap as merged and separate layers
Jesper Kempe
jesper.kempe at gmail.com
Fri Dec 11 06:55:31 PST 2020
Hi
I have a basemap in Mapserver 7.4.3 presented as a WMS-layer.
As many maps it consists of landusage, roads, label and so on.
Each of these "layers" or parts of the map consist of many <layer> in the
mapfile for different scales.
For example land0, land1.... and roads0, roads1 and so on. Much like
https://mapserver.org/basemaps/index.html
Currently all layers are part of "GROUP default" and map renders correctly
when asking for LAYERS=default.
Unfortunately all layers (land0,land1,roads0,road1...) are also show in the
Capability.
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.
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.
A GetMap request for LAYERS=roads should show all the separate roads*
layers only.
Can this be done in Mapserver?
Thanks,
Jesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20201211/be9bc959/attachment.htm>
More information about the MapServer-users
mailing list