I'm creating aqx files to view open data from the governmental geoportal of the Netherlands. Some maps are best used as layer on top of another map. For myself it is no problem to just open a map and then add one ore more layers. However, when I will share the aqx files, other users might not be aware what maps to combine and how. Is there a way to configure the aqx file in such way that a map is opened together with a second map as layer on top, instead of opening them one by one?
For example, the railway information is supplied in 5 layers, which the WMS tile server can combine into one layer (1st map in code below). However, I can't add the Orthophoto (2nd map in code below) in the same way since it uses a different URL. When using the WMTS tile server, all have the same URL. However, the WMTS protocol seems to support just a single layer for one GetTile command.
Kind regards, Jochem
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<aqx version="9">
<name>Netherlands Maps by pdok.nl</name>
<source id="railway" layer="true">
<name>Railways</name>
<zoom-levels z="10,11,12,13,14,15,16,17,18">
<clear-color r="255" g="255" b="255" />
<bbox-crs-code>EPSG:4326</bbox-crs-code>
<server><![CDATA[https://geodata.nationaalgeoregister.nl/spoorwegen/wms?service=wms&REQUEST=GetMap&VERSION=1.1.1&FORMAT=image/png&BBOX={$bbox}&LAYERS=spooras,wissel,kruising,station,overweg&SRS=EPSG:4326&WIDTH=256&HEIGHT=256&styles=spoorwegen:Spooras,spoorwegen:Wissel,spoorwegen:Kruising,spoorwegen:Station,spoorwegen:Overweg]]></server>
</zoom-levels>
</source>
<source id="ortho">
<name>Orthophoto</name>
<zoom-levels z="10,11,12,13,14,15,16,17,18">
<bbox-crs-code>EPSG:4326</bbox-crs-code>
<server><![CDATA[https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wms?service=wms&REQUEST=GetMap&VERSION=1.1.1&FORMAT=image/png&BBOX={$bbox}&LAYERS=Actueel_ortho25&SRS=EPSG:4326&WIDTH=256&HEIGHT=256&STYLES=default]]></server>
</zoom-levels>
</source>
</aqx>