From 5e1ab53cd8a4349811a10216075fb05604e562e8 Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- _Rosreestr/rosreestr_cadastr.zmp/GetUrlScript.txt | 2 +- _Rosreestr/rosreestr_cadastr.zmp/params.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Rosreestr/rosreestr_cadastr.zmp/GetUrlScript.txt b/_Rosreestr/rosreestr_cadastr.zmp/GetUrlScript.txt index 0f75e6cd2..98b5d774a 100644 --- a/_Rosreestr/rosreestr_cadastr.zmp/GetUrlScript.txt +++ b/_Rosreestr/rosreestr_cadastr.zmp/GetUrlScript.txt @@ -10,5 +10,5 @@ begin xy.y:=(GetY+1)*256; LL:=Converter.Pos2LonLat(XY,GetZ+7); bottomrightM:=Converter.LonLat2Metr(LL); - ResultURL:=GetURLBase+'bbox={"xmin":'+RoundEx(topLeftM.x,8)+',"ymin":'+RoundEx(topLeftM.y,8)+',"xmax":'+RoundEx(bottomrightM.x,8)+',"ymax":'+RoundEx(bottomrightM.y,8)+',"spatialReference":{"wkid":102113}}&bboxSR=102113&imageSR=102113&size=256,256&f=image'; + ResultURL:=GetURLBase+'bbox='+RoundEx(topLeftM.x,8)+','+RoundEx(topLeftM.y,8)+','+RoundEx(bottomrightM.x,8)+','+RoundEx(bottomrightM.y,8)+'&bboxSR=102100&imageSR=102100&size=256,256&f=image'; end. \ No newline at end of file diff --git a/_Rosreestr/rosreestr_cadastr.zmp/params.txt b/_Rosreestr/rosreestr_cadastr.zmp/params.txt index a25ffcb23..dd4d1c5f7 100644 --- a/_Rosreestr/rosreestr_cadastr.zmp/params.txt +++ b/_Rosreestr/rosreestr_cadastr.zmp/params.txt @@ -8,7 +8,7 @@ ParentSubMenu_uk= name=Кадастровые границы (rosreestr.ru) name_en=Cadastre map (rosreestr.ru) NameInCache=rosreestr_cadastr -DefURLBase=http://maps.rosreestr.ru/ArcGIS/rest/services/Cadastre/Cadastre/MapServer/export?dpi=96&transparent=true&format=png& +DefURLBase=http://maps.rosreestr.ru/ArcGIS/rest/services/CadastreNew/Cadastre/MapServer/export?dpi=96&transparent=true&format=png& ContentType="image/png" Ext=.png projection=1