From c192a18bad9384e5e204acf2cfaaaca64fa51c3f Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- _local/lantmateriet.se.zmp/18.bmp | Bin 0 -> 1062 bytes _local/lantmateriet.se.zmp/24.bmp | Bin 0 -> 1782 bytes _local/lantmateriet.se.zmp/GetUrlScript.txt | 25 +++++++++++++++ _local/lantmateriet.se.zmp/params.txt | 32 ++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 _local/lantmateriet.se.zmp/18.bmp create mode 100644 _local/lantmateriet.se.zmp/24.bmp create mode 100644 _local/lantmateriet.se.zmp/GetUrlScript.txt create mode 100644 _local/lantmateriet.se.zmp/params.txt diff --git a/_local/lantmateriet.se.zmp/18.bmp b/_local/lantmateriet.se.zmp/18.bmp new file mode 100644 index 0000000000000000000000000000000000000000..47d65f276ee5e4851f34fe840f80f2090024fad0 GIT binary patch literal 1062 zcmZ9KZA_Y16vywfecXqopY~~KvaH?alDW=SYHg=3GPOl9RSFgDth`K7@Qo=-*J_cr zA|hiJ0Rgd4QIwa7Pz7;{2#U}GkBEw`PBW8kvt8H9W^CLOoSW^?Sj z@)n4m6R>^==b?Y|4e)OC{^^_1@`~(&-Pgjd?Hm`;10tM`l?N-_zh;0(0LTB_9x6I@!2R25VR|jbB+t>*;@1XMl2Sf1dTchNcka*|O$oh(RDiD6YWZ8kFJCk*r zJ?L3Q<$vft=jazaYX4%}O5An{A_48rL%TP)Fbpj&&rfgpjFDOK_C(EAAJQky+e4$A zRd;8Ob39_a_?Mj(amgZH&C8I^WV3MlM{jAIa)supOR+m6j#%l>l?l_*G8m0=_8U3B zOAuS;@+}Mdg^l-ztv%wD^>>R%^_}FaBJ?-RT3VGy%J|#Xu&u+bwjLYTN&wJHcyr9y zXUdGt-m)hH^e0;8rvB;+GfT+1iD9q_^n$bJ3p0?ouT#$~D=VLAh?{~>-69eIz167D zwWGiNaQ0_$!CDt-t-Ivco?@kdj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index 000000000..e0df7e137 --- /dev/null +++ b/_local/lantmateriet.se.zmp/GetUrlScript.txt @@ -0,0 +1,25 @@ +var + TL, M: TDoublePoint; + BR, N: TDoublePoint; +begin + TL.X := GetLLon; + TL.Y := GetTLat; + BR.X := GetRLon; + BR.Y := GetBLat; + + if Assigned(DefProjConverter) then begin + M := DefProjConverter.LonLat2XY(TL); + N := DefProjConverter.LonLat2XY(BR); + ResultURL := GetURLBase + RoundEx(M.X, 9) + ',' + RoundEx(N.Y, 9) + ',' + RoundEx(N.X, 9) + ',' + RoundEx(M.Y, 9); + end else begin + ResultURL := 'invalid_url'; + end; + 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://kso2.lantmateriet.se/' + #13#10 + + 'Host: kso.lantmateriet.se' + #13#10 + + 'Cookie: WebTrends=188.95.188.26.1392695245204688' + #13#10 + + 'Connection: keep-alive' + #13#10; +end. \ No newline at end of file diff --git a/_local/lantmateriet.se.zmp/params.txt b/_local/lantmateriet.se.zmp/params.txt new file mode 100644 index 000000000..9b084d2c8 --- /dev/null +++ b/_local/lantmateriet.se.zmp/params.txt @@ -0,0 +1,32 @@ +[PARAMS] +pnum=44 +GUID={5DBB0B87-766C-41A4-A323-836385E8DF71} +asLayer=0 +name=Lantmateriet.se (Sweden Map) +name_en=Lantmateriet.se (Sweden Map) +name_uk=Lantmateriet.se (Sweden Map) +NameInCache=lantmateriet.se +ParentSubMenu=Локальные карты +ParentSubMenu_en=Local maps +ParentSubMenu_uk=ЛокальнЇ карти +DefURLBase=http://kso.lantmateriet.se/karta/ortofoto/wms/v1?LAYERS=orto%2Corto025&EXCEPTIONS=application%2Fvnd.ogc.se_xml&FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=default%2Cdefault&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3006&WIDTH=256&HEIGHT=256&BBOX= +ContentType=* +defaultContentType=image/png +IgnoreContentType=1 +Ext=.png +separator=0 +UseDwn=1 +Usestick=0 +UseGenPrevious=0 +Usedel=1 +Usesave=1 +UseAntiBan=0 +Sleep=0 +DefHotKey=80 +BanIfLen=0 +Enabled2=0 +RequestHead=Referer: http://kso2.lantmateriet.se/ +projection=1 +sradiusa=6378137 +sradiusb=6356752 +Proj4Args=+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs \ No newline at end of file