From aeea82467087a8433ea5b3d9d91270de7173b6fa Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- Kosmosnimki/KSsat.zmp/GetUrlScript.txt | 11 +++++------ Kosmosnimki/KSsat.zmp/params.txt | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Kosmosnimki/KSsat.zmp/GetUrlScript.txt b/Kosmosnimki/KSsat.zmp/GetUrlScript.txt index 107a507cd..eedc728f8 100644 --- a/Kosmosnimki/KSsat.zmp/GetUrlScript.txt +++ b/Kosmosnimki/KSsat.zmp/GetUrlScript.txt @@ -1,10 +1,9 @@ begin - ResultURL:=GetUrlBase+'&z='+inttostr(GetZ-1)+'&x='+inttostr(-((round(intpower(2,GetZ-1)))div 2)+(GetX))+'&y='+inttostr(-((Round(intpower(2,GetZ-1)))div 2)+ (Round(intpower(2,GetZ-1))-(GetY+1))); - RequestHead:='User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0' + #13#10 + - 'Accept: image/png,image/*;q=0.8,*/*;q=0.5' + #13#10 + - 'Accept-Language: en-us,en;q=0.5' + #13#10 + + ResultURL:=GetUrlBase+'&z='+inttostr(GetZ-1)+'&x='+inttostr(-((round(intpower(2,GetZ-1)))div 2)+(GetX))+'&y='+inttostr(-((Round(intpower(2,GetZ-1)))div 2)+ (Round(intpower(2,GetZ-1))-(GetY+1))); + RequestHead:='User-Agent: Opera/9.80 (Windows NT 6.1) Presto/2.12.388 Version/12.16' + #13#10 + + 'Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1' + #13#10 + + 'Accept-Language: ru-RU,ru;q=0.9,en;q=0.8' + #13#10 + 'Accept-Encoding: gzip, deflate' + #13#10 + 'Referer: http://kosmosnimki.ru/' + #13#10 + - 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' + #13#10 + 'Connection: keep-alive' + #13#10; -end. \ No newline at end of file +end. diff --git a/Kosmosnimki/KSsat.zmp/params.txt b/Kosmosnimki/KSsat.zmp/params.txt index 5165555d4..52301edd2 100644 --- a/Kosmosnimki/KSsat.zmp/params.txt +++ b/Kosmosnimki/KSsat.zmp/params.txt @@ -8,7 +8,7 @@ ParentSubMenu= ParentSubMenu_en=Kosmosnimki.ru ParentSubMenu_uk=Космоснимки asLayer=0 -DefURLBase=http://maps.kosmosnimki.ru/TileSender.ashx?ModeKey=tile&MapName=1D30C72D02914C5FB90D1D448159CAB6&LayerName=C9458F2DCB754CEEACC54216C7D1EB0A&key=Ziu6TPYb5bPGbzlMGJvEZW9aC%2BYgOPqEXyTtc%2FFzrigkewPGSWWdyNRVV3hxbKprmblxuFPveGTF68znQDOYGDxck3gk3bbcis33QH48okf77gofl4Y0Z8NuLdxyJyNd1GmhCzrmsqm72A1fEa4Hgx9xXZjNLx6vktYlSByp915sLqX1v9wNxQJEL%2FYkrjyU&0.40740302335621426 +DefURLBase=http://maps.kosmosnimki.ru/TileSender.ashx?ModeKey=tile&MapName=1D30C72D02914C5FB90D1D448159CAB6&LayerName=C9458F2DCB754CEEACC54216C7D1EB0A&key=Ziu6TPYb5bPGbzlMGJvEZW9aC%2BYgOPqEXyTtc%2FFzrigkewPGSWWdyNRVV3hxbKprZwdNTe8K52GCEZ05UjtRHWkQiIvj59%2B3TxpIuoGkPa2pC9bqYSZzuqxRTJWSq%2BZesqY2iBhDxA%2B9dvtAOYOrfLPezHlD0%2BjNvnRofacpZJURVhm5x5CjPeafTvXxVPDz projection=2 sradiusa=6378137 sradiusb=6356752