Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for arcgis mapserver #349

Open
lassitanskanen opened this issue May 2, 2022 · 0 comments
Open

support for arcgis mapserver #349

lassitanskanen opened this issue May 2, 2022 · 0 comments

Comments

@lassitanskanen
Copy link

Hi,

I have to configure arcgis rest (both mapserver and feature service) to qwc2.

In ArcGIS Mapserver, it is possible request with multiple "layer" params.
(https://gis.stackexchange.com/questions/365765/merge-all-layers-become-a-single-layer-in-wms)

I suggest new layer type called "arcgis" that provide support for this kind of services. Another solution might be improve existing wms layer type to support "layers" param notation.

Here is external layer configuration suggestion:

  {
    "name": "mergedlayer",
    "type": "arcgis",
    "url": "https://localhost/arcgis/services/background_map/MapServer/WmsServer",
    "infoFormats": "application/json",
    "params": {
      "layers": "2,3,4"
    }
  },

Above should be generate as multiple layers params:
https://localhost/arcgis/services/background_map/MapServer/WmsServer?SERVICE=WMS&REQUEST=GetMap&layers=2&layers=3&layers=4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants