From 47fd42ac7f26d67f85159c0fe94b63ac6882ad94 Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- _OSM/osm_mapsurfer_boundary.zmp/GetUrlScript.txt | 9 +++++++-- _OSM/osm_mapsurfer_boundary.zmp/params.txt | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/_OSM/osm_mapsurfer_boundary.zmp/GetUrlScript.txt b/_OSM/osm_mapsurfer_boundary.zmp/GetUrlScript.txt index 1598fe474..a8a22e65b 100644 --- a/_OSM/osm_mapsurfer_boundary.zmp/GetUrlScript.txt +++ b/_OSM/osm_mapsurfer_boundary.zmp/GetUrlScript.txt @@ -1,3 +1,8 @@ begin - ResultURL:=GetURLBase+'x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&z='+inttostr(GetZ-1); -end. \ No newline at end of file + ResultURL:=GetURLBase+'/'+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'.png'; + RequestHead:= +'Host: maps.heigit.org'+ #13#10 + +'Accept: image/png, image/svg+xml, image/jxr, image/*; q=0.8, */*; q=0.5'+ #13#10 + +'Referer: https://qms.nextgis.com/geoservices/2573/'+ #13#10 + +'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 OPR/60.0.3255.109' + #13#10; +end. diff --git a/_OSM/osm_mapsurfer_boundary.zmp/params.txt b/_OSM/osm_mapsurfer_boundary.zmp/params.txt index d7ec07870..4c4448127 100644 --- a/_OSM/osm_mapsurfer_boundary.zmp/params.txt +++ b/_OSM/osm_mapsurfer_boundary.zmp/params.txt @@ -5,7 +5,7 @@ name_ru= name=Map OSM Boundary (mapsurfer.net) name_uk=Карта границ OSM (MapSurfer.NET) NameInCache=OSM_mapsurfer_boundary -DefURLBase=http://korona.geog.uni-heidelberg.de/tiles/adminb/ +DefURLBase=https://maps.heigit.org/openmapsurfer/tiles/adminb/webmercator defaultContentType=image/png ContentType="image/pnga";"image/png" MimeTypeSubst="image/pnga=image/png" @@ -14,6 +14,6 @@ projection=1 sradiusa=6378137 sradiusb=6378137 PARENTSUBMENU=OSM -RequestHead=User-Agent: SAS.Planet IteratorSubRectSize=8,8 License=Map data © OpenStreetMap contributors, rendering GIScience Research Group @ University of Heidelberg +