Page 1 of 1

Regarding COM.55.AQX (Taiwan)

Posted: Wed Mar 15, 2023 4:15 am
by jidanni
Regarding COM.55.AQX (Taiwan),
Could you please replace your line,

Code: Select all

<server><![CDATA[https://landmaps.nlsc.gov.tw/S_Maps/wmts/DMAPS/default/GoogleMapsCompatible/{$z}/{$y}/{$x}]]></server>
with

Code: Select all

<server><![CDATA[https://landmaps.nlsc.gov.tw/S_Maps/wmts/DMAPS/default/EPSG:3857/{$z}/{$y}/{$x}]]></server>
That should make it work again. Then you can remove the deprecated="true" too!

Re: Regarding COM.55.AQX (Taiwan)

Posted: Wed Mar 15, 2023 2:29 pm
by Psyberia-Support
Thank you!
I've made the changes.
However I haven't been able to test cause the map server seems too slow (from my current location at least). I'll try again later.

Re: Regarding COM.55.AQX (Taiwan)

Posted: Thu Apr 06, 2023 5:54 am
by jidanni
Trust me.

Code: Select all

t=/tmp/xx
u=https://landmaps.nlsc.gov.tw/S_Maps/wmts/DMAPS/default/EPSG:3857/20/451676/875923
curl $u -o $t --silent --show-error -H 'Referer: https://maps.nlsc.gov.tw/'
file $t #PNG, good!
curl $u -o $t.1 --silent --show-error
file $t.1 #empty, because no Referer