I've been using the app for some time, but only recently found out the power of adding maps with aqx files. I love it. I added a few normal ZXY and WMS tile servers, which was quite easy.
Now I am trying a more challenging WMS tile server. The problem with this tile server is that it only produces tiles of 200 by 200 pixels and 2 by 2 km. Moreover, the bbox expects NW and SE corners in projected coordinates rounded to even kilometres.
Unformunately, the tile server isn't public, therefore I can't share the URL and I'll use another normal tile server to simulate the problem with the aqx file below.
In the a aqx file I tried some additional settings in two different ways. The first is only producing empty tiles, the second gives an offset (for the non-public tile server), which I can't fix as it seems to ignore the projection-offset parameter. Any ideas why and how to fix it?
Kind regards, Jochem
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<aqx version="9">
<name>a test</name>
<source id="MAP01">
<name>1st Test 1:50 000</name>
<zoom-levels z="14">
<projection-code>EPSG:28992</projection-code>
<projection-resolution>10</projection-resolution>
<tiles-size>200</tiles-size>
<expression set="x2" type="int">x+2000</expression>
<expression set="y2" type="int">y+2000</expression>
<server><![CDATA[https://geodata.nationaalgeoregister.nl/top50raster/wms?service=wms&REQUEST=GetMap&VERSION=1.1.1&LAYERS=top50raster&FORMAT=image/png&BBOX={$x},{$y},{$x2},{$y2}&SRS=EPSG:28992&WIDTH=200&HEIGHT=200&styles=default]]></server>
</zoom-levels>
</source>
<source id="MAP02">
<name>2nd Test 1:50 000</name>
<zoom-levels z="14">
<bbox-crs-code>EPSG:28992</bbox-crs-code>
<projection-code>EPSG:28992</projection-code>
<projection-resolution>10</projection-resolution>
<tiles-size>200</tiles-size>
<projection-offset-y>2000.0</projection-offset-y>
<server><![CDATA[https://geodata.nationaalgeoregister.nl/top50raster/wms?service=wms&REQUEST=GetMap&VERSION=1.1.1&LAYERS=top50raster&FORMAT=image/png&BBOX={$bbox}&SRS=EPSG:28992&WIDTH=200&HEIGHT=200&styles=default]]></server>
</zoom-levels>
</source>
</aqx>