Could please anyone help in creating the ZMP for this Italian (only Lombardia, centered on the city of Milan) map ?
The WMTS is at: https://portalgis.lispa.it/arcgis/rest/ ... lities.xml
More info are at: https://portalgis.lispa.it/arcgis/rest/ ... /MapServer
I managed to get to the point where URLs that looks OK are generated, and requests are made, but I suppose there is a wrong coordinate system used, and all the requests are rejected with error 400
For example, this is a request that works (generated by QMapShack that use the WMTS) : http://portalgis.lispa.it/arcgis/rest/s ... /16721.png
This one is a request that doesn't work (SASPlanet with my files) : http://portalgis.lispa.it/arcgis/rest/s ... 1/1461.png
These are the files I'm using:
- Код: Выделить всё
GetUrlScript.txt
begin
ResultURL:=GetUrlBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'.png';
end.
params.txt
[PARAMS]
pnum=
GUID={ef274d1b-82dd-4707-9c60-dbe3bdeb758c}
name=LombardiaCTR
ParentSubMenu_en=ITALIA
NameInCache=LombardiaCTR
asLayer=0
DefURLBase=http://portalgis.lispa.it/arcgis/rest/services/BaseMap/ctr_dbt_extra_rl/MapServer/WMTS/tile/1.0.0/BaseMap_ctr_dbt_extra_rl/default/default028mm/
ContentType=image/png
Ext=.png
projection=3
sradiusa=6378137
sradiusb=6356752
epsg=32632
separator=1
UseDwn=1
Usestick=1
UseGenPrevious=1
Usedel=1
Usesave=1
UseAntiBan=0
Sleep=250
DefHotKey=0
BanIfLen=0
DelAfterShow=1
Thanks for any help!