Browse Source

update zmp

master
sasgis 54 years ago
parent
commit
3f23c6ca99
2 changed files with 15 additions and 16 deletions
  1. +10
    -10
      _Ukraine/odessa.ua.zmp/GetUrlScript.txt
  2. +5
    -6
      _Ukraine/odessa.ua.zmp/params.txt

+ 10
- 10
_Ukraine/odessa.ua.zmp/GetUrlScript.txt View File

@@ -3,16 +3,16 @@ sh_x:array[0..24] of integer;
sh_y:array[0..24] of integer; sh_y:array[0..24] of integer;
begin begin
sh_x[0]:=301; sh_y[0]:=589;
sh_x[1]:=301; sh_y[1]:=589;
sh_x[2]:=301; sh_y[2]:=589;
sh_x[3]:=301; sh_y[3]:=589; sh_x[3]:=301; sh_y[3]:=589;
sh_x[4]:=0; sh_y[4]:=0;
sh_x[5]:=0; sh_y[5]:=0;
sh_x[6]:=0; sh_y[6]:=0;
sh_x[7]:=0; sh_y[7]:=0;
sh_x[8]:=0; sh_y[8]:=0;
sh_x[9]:=0; sh_y[9]:=0;
sh_x[4]:=603; sh_y[4]:=1178;
sh_x[5]:=1177; sh_y[5]:=2302;
sh_x[6]:=2355; sh_y[6]:=4604;
sh_x[7]:=4711; sh_y[7]:=9209;
sh_x[8]:=10773; sh_y[8]:=21055;
sh_x[9]:=18845; sh_y[9]:=36839;
sh_x[10]:=37690; sh_y[10]:=73679;
sh_x[11]:=75381; sh_y[11]:=147359;
sh_x[12]:=150762; sh_y[12]:=294719;
ResultURL:=GetUrlBase+'/'+inttostr(Getz-3)+'/'+inttostr(GetY+sh_y[getz])+'/'+inttostr(GetX+sh_x[getz])+'.png';
ResultURL:=GetUrlBase+'/'+inttostr(Getz-3)+'/'+inttostr(GetY+sh_y[getz])+'/'+inttostr(GetX+sh_x[getz]);
end. end.

+ 5
- 6
_Ukraine/odessa.ua.zmp/params.txt View File

@@ -4,7 +4,7 @@ GUID={8A7C26A9-C94B-4329-A764-02BB2EF9EA30}
name=Êàðòà Îäåññû(odessa.ua) name=Êàðòà Îäåññû(odessa.ua)
name_en=Odessa Map (odessa.ua) name_en=Odessa Map (odessa.ua)
asLayer=0 asLayer=0
DefURLBase=http://www.citymap.odessa.ua/arcgis/rest/services/odessa_n/MapServer/tile
DefURLBase=http://www.citymap.odessa.ua/ArcGIS/rest/services/odessa_n/MapServer/tile
projection=1 projection=1
sradiusa=6378137 sradiusa=6378137
sradiusb=6378137 sradiusb=6378137
@@ -12,15 +12,14 @@ NameInCache=odessa_ua
ParentSubMenu=Ëîêàëüíûå êàðòû ParentSubMenu=Ëîêàëüíûå êàðòû
ParentSubMenu_en=Local maps ParentSubMenu_en=Local maps
separator=0 separator=0
Ext=.png
Ext=.jpg
UseDwn=1 UseDwn=1
Usestick=1 Usestick=1
UseGenPrevious=1 UseGenPrevious=1
Usedel=1 Usedel=1
Usesave=1 Usesave=1
UseAntiBan=1 UseAntiBan=1
Sleep=1000
Sleep=0
DefHotKey=0 DefHotKey=0
ContentType=image/png
BanIfLen=1722
defaultContentType=image/png
ContentType=image/jpg
BanIfLen=0

Loading…
Cancel
Save