The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

Regarding COM.55.AQX (Taiwan)

Any question about the app? Ask it here
Post Reply
jidanni
Posts: 353
Joined: Sat Mar 07, 2015 6:44 am
Contact:

Regarding COM.55.AQX (Taiwan)

Post 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!
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: Regarding COM.55.AQX (Taiwan)

Post 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.
Do you like AlpineQuest ? Leave a small comment on Google Play !
jidanni
Posts: 353
Joined: Sat Mar 07, 2015 6:44 am
Contact:

Re: Regarding COM.55.AQX (Taiwan)

Post 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
Post Reply