<div dir="ltr"><div dir="ltr"><div><div>Hi,</div><div>We have 2 pre-tiled map services to serve maps in 2 OpenLayers viewers in their respective projections, 1). a world set in Web Mercator EPSG:3857 and, 2). a local set in a National mapping projection.</div><div><br></div><div>For users requiring the maps in a WMS, we set up a MapProxy service with 2 LAYERS pointing to the 2 tile sets respectively as their SOURCES. We would like the 2 layers to display in their native projections from the same WMS service BUT we have an issue such that, for example, when I open the service in ArcGIS desktop and drag in the local map WMS layer, it displays fine as expected but when I drag the Web Mercator WMS layer (in a new session), it always displays it in the local projection rather than Web Mercator leading to a very distorted initial map. An experienced ArcGIS user could easily set the view projection accordingly to rectify that.</div><div><br></div><div>I wanted to know whether the MapProxy/WMS config could allow the 2 WMS layers to display in their native projections?</div><div><br></div><div>I am guessing is issue is with the client software reading the SRS list in the order they are presented in the getCapabilities and always uses the 1st SRS by default. Here is a simplified copy of our YAML:</div><div>==============================================================</div><div>==============================================================</div><div><br></div><div>services:</div><div>  wms:</div><div>    srs: ['EPSG:xxxx','EPSG:3857']</div><div>    md:</div><div>      title: Map Service</div><div>      abstract: Map Service</div><div><br></div><div>layers:</div><div>  - name: Map Service WMS</div><div>    title: Map Service WMS</div><div>    layers:</div><div>    - name: maps_in_xxxx</div><div>      title: Maps in xxxx projection</div><div>      sources: [map_xxxx_cache]</div><div>    - name: maps_in_3857</div><div>      title: Maps in Web Mercator projection</div><div>      sources: [map_3857_cache]</div><div><br></div><div>caches:</div><div>  map_xxxx_cache:</div><div>    grids: [map_xxxx_grid]</div><div>    sources: [map_xxxx_source]</div><div>  map_3857_cache:</div><div>    grids: [map_3957_grid]</div><div>    sources: [map_3857_source]</div><div><br></div><div>sources:</div><div>  map_xxxx_source:</div><div>    type: tile</div><div>    grid: map_xxxx_grid</div><div>    url: <a href="http://ourtileserver.com/xxxx/%(z)s/%(x)s/%(y)s.png">http://ourtileserver.com/xxxx/%(z)s/%(x)s/%(y)s.png</a></div><div>  map_3857_source:</div><div>    type: tile</div><div>    grid: map_3957_grid</div><div>    url: <a href="http://ourtileserver.com/3857/%(z)s/%(x)s/%(y)s.png">http://ourtileserver.com/3857/%(z)s/%(x)s/%(y)s.png</a></div><div><br></div><div>grids:</div><div>...</div><div><br></div><div>==============================================================</div><div>==============================================================</div></div><div><br></div><div>Any help or advice greatly appreciated.</div><div><br></div><div>Jason</div></div></div>