From f6a2f054e5dc664999730dc00f314ac732a63884 Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- navionics.SonarCharts.layer.zmp/18.bmp | Bin 0 -> 1062 bytes navionics.SonarCharts.layer.zmp/24.bmp | Bin 0 -> 1782 bytes .../EmptyTiles/empty.png | Bin 0 -> 872 bytes .../GetUrlScript.txt | 33 ++++++++++++++++++ navionics.SonarCharts.layer.zmp/params.txt | 17 +++++++++ navionics.SonarCharts.zmp/18.bmp | Bin 0 -> 1062 bytes navionics.SonarCharts.zmp/24.bmp | Bin 0 -> 1782 bytes .../EmptyTiles/empty.png | Bin 0 -> 872 bytes navionics.SonarCharts.zmp/GetUrlScript.txt | 33 ++++++++++++++++++ navionics.SonarCharts.zmp/params.txt | 17 +++++++++ 10 files changed, 100 insertions(+) create mode 100644 navionics.SonarCharts.layer.zmp/18.bmp create mode 100644 navionics.SonarCharts.layer.zmp/24.bmp create mode 100644 navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png create mode 100644 navionics.SonarCharts.layer.zmp/GetUrlScript.txt create mode 100644 navionics.SonarCharts.layer.zmp/params.txt create mode 100644 navionics.SonarCharts.zmp/18.bmp create mode 100644 navionics.SonarCharts.zmp/24.bmp create mode 100644 navionics.SonarCharts.zmp/EmptyTiles/empty.png create mode 100644 navionics.SonarCharts.zmp/GetUrlScript.txt create mode 100644 navionics.SonarCharts.zmp/params.txt diff --git a/navionics.SonarCharts.layer.zmp/18.bmp b/navionics.SonarCharts.layer.zmp/18.bmp new file mode 100644 index 0000000000000000000000000000000000000000..a535c4b6e665b05a934cbe0839f8becc879317b3 GIT binary patch literal 1062 zcmbV{JqkiW41^=v3SwnxC7wXUQeJD}Wo#|It~YoNJ8qcG{vbYf!)%gol6SowR+hdK z;t_ZIy$jo={CjD3S@Wg@!ff*&r^P+a7EWzkae>gM(!xEb4Z2WduZt#{xtgH6Lhgr> zZ~^7KdMf=A7l<&UiDs^eI^lwrc=q?ClM^nO&+|O3f?6}L`@ZD(Li|O*X}BkCYBS+< tnYvLk=oAi>9?C{XOO8+z)e<4Z{C`Xgrn1!GJndV#@DfEiFBAt)vk&Q*$J_t_ literal 0 HcmV?d00001 diff --git a/navionics.SonarCharts.layer.zmp/24.bmp b/navionics.SonarCharts.layer.zmp/24.bmp new file mode 100644 index 0000000000000000000000000000000000000000..686a279f04a0879003bca5f63c36ee097362f6ff GIT binary patch literal 1782 zcmeH@F%H5o3`N7jhQ!Fo$O#Z)M63*4hLw?PaVpmGRimfKagx%xRTKR>&o5Rlx6e9_ z&r$n9Yxi5LF{Sj@`FUe&1hoxmSl)Sm;BiXso#AnY{Bxr1dEKf@u=NuDQk4d~J(u8b z3+0~e;P~#RJWkbZS%B~ld;y_JzOw)T literal 0 HcmV?d00001 diff --git a/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png b/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png new file mode 100644 index 0000000000000000000000000000000000000000..5071e6467211def3f5cd86c15586cbfc36b94546 GIT binary patch literal 872 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zFiUy5IEGZrd3!|>sDa~v0n1-wVdjsz2d|bltoh5w@K1uFMRF94hQP=R0om$HER0Kb S9=!$3It-q!elF{r5}E)o(74|K literal 0 HcmV?d00001 diff --git a/navionics.SonarCharts.layer.zmp/GetUrlScript.txt b/navionics.SonarCharts.layer.zmp/GetUrlScript.txt new file mode 100644 index 000000000..f034a3996 --- /dev/null +++ b/navionics.SonarCharts.layer.zmp/GetUrlScript.txt @@ -0,0 +1,33 @@ +var + I: Integer; + VEncoded: string; + VBox: string; +begin + VBox := RoundEx(GetLMetr ,10) + ',' + RoundEx(GetBMetr, 10) + ',' + RoundEx(GetRMetr, 10) + ',' + RoundEx(GetTMetr, 10); + // prepare params + VEncoded := + 'LAYERS=config_1_1_1_0' + '&' + + 'TRANSPARENT=TRUE' + '&' + + 'SERVICE=WMS' + '&' + + 'VERSION=1.1.1' + '&' + + 'REQUEST=GetMap' + '&' + + 'FORMAT=image%2Fpng' + '&' + + 'SRS=EPSG%3A6859' + '&' + + 'BBOX=' + VBox + '&' + + 'WIDTH=256' + '&' + + 'HEIGHT=256'; + + // crypt + for I := 1 to Length(VEncoded) do + VEncoded[I] := Chr(Ord(VEncoded[I]) xor 42); + + // Base64 encode + VEncoded := Base64Encode(VEncoded); + + //replase "+" with "%2b" charset + VEncoded := RegExprReplaceMatchSubStr(VEncoded, '\+', '\%2b'); + + ResultURL:=GetURLBase + VEncoded + '&NAVKEY=NAVIONICS11WEBAPI111&TEST=' + VBox + '&ZOOM=' + IntToStr(GetZ) + '&v=1&SRC=http://www.navionics.com'; + + RequestHead := 'Referer: http://www.navionics.com/sites/navionics.plurimedia.it/files/coverage/webapp.html?2985400'; +end. \ No newline at end of file diff --git a/navionics.SonarCharts.layer.zmp/params.txt b/navionics.SonarCharts.layer.zmp/params.txt new file mode 100644 index 000000000..154bb3686 --- /dev/null +++ b/navionics.SonarCharts.layer.zmp/params.txt @@ -0,0 +1,17 @@ +[PARAMS] +GUID={BF5C7247-0543-4DBB-B4B1-5E969C9EB942} +name=Navonics SonarCharts +name_en=Navionics SonarCharts +name_uk=Navionics SonarCharts +ParentSubMenu=Морские карты +ParentSubMenu_en=Marine maps +ParentSubMenu_uk=Marine maps +asLayer=1 +DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= +NameInCache=navionics.SonarCharts.layer +Ext=.png +UseDwn=1 +ContentType=image/png +projection=2 +sradiusa=6378388 +sradiusb=6356912 diff --git a/navionics.SonarCharts.zmp/18.bmp b/navionics.SonarCharts.zmp/18.bmp new file mode 100644 index 0000000000000000000000000000000000000000..a535c4b6e665b05a934cbe0839f8becc879317b3 GIT binary patch literal 1062 zcmbV{JqkiW41^=v3SwnxC7wXUQeJD}Wo#|It~YoNJ8qcG{vbYf!)%gol6SowR+hdK z;t_ZIy$jo={CjD3S@Wg@!ff*&r^P+a7EWzkae>gM(!xEb4Z2WduZt#{xtgH6Lhgr> zZ~^7KdMf=A7l<&UiDs^eI^lwrc=q?ClM^nO&+|O3f?6}L`@ZD(Li|O*X}BkCYBS+< tnYvLk=oAi>9?C{XOO8+z)e<4Z{C`Xgrn1!GJndV#@DfEiFBAt)vk&Q*$J_t_ literal 0 HcmV?d00001 diff --git a/navionics.SonarCharts.zmp/24.bmp b/navionics.SonarCharts.zmp/24.bmp new file mode 100644 index 0000000000000000000000000000000000000000..686a279f04a0879003bca5f63c36ee097362f6ff GIT binary patch literal 1782 zcmeH@F%H5o3`N7jhQ!Fo$O#Z)M63*4hLw?PaVpmGRimfKagx%xRTKR>&o5Rlx6e9_ z&r$n9Yxi5LF{Sj@`FUe&1hoxmSl)Sm;BiXso#AnY{Bxr1dEKf@u=NuDQk4d~J(u8b z3+0~e;P~#RJWkbZS%B~ld;y_JzOw)T literal 0 HcmV?d00001 diff --git a/navionics.SonarCharts.zmp/EmptyTiles/empty.png b/navionics.SonarCharts.zmp/EmptyTiles/empty.png new file mode 100644 index 0000000000000000000000000000000000000000..5071e6467211def3f5cd86c15586cbfc36b94546 GIT binary patch literal 872 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zFiUy5IEGZrd3!|>sDa~v0n1-wVdjsz2d|bltoh5w@K1uFMRF94hQP=R0om$HER0Kb S9=!$3It-q!elF{r5}E)o(74|K literal 0 HcmV?d00001 diff --git a/navionics.SonarCharts.zmp/GetUrlScript.txt b/navionics.SonarCharts.zmp/GetUrlScript.txt new file mode 100644 index 000000000..97ddb8f0d --- /dev/null +++ b/navionics.SonarCharts.zmp/GetUrlScript.txt @@ -0,0 +1,33 @@ +var + I: Integer; + VEncoded: string; + VBox: string; +begin + VBox := RoundEx(GetLMetr ,10) + ',' + RoundEx(GetBMetr, 10) + ',' + RoundEx(GetRMetr, 10) + ',' + RoundEx(GetTMetr, 10); + // prepare params + VEncoded := + 'LAYERS=config_1_1_1_0' + '&' + + 'TRANSPARENT=FALSE' + '&' + + 'SERVICE=WMS' + '&' + + 'VERSION=1.1.1' + '&' + + 'REQUEST=GetMap' + '&' + + 'FORMAT=image%2Fpng' + '&' + + 'SRS=EPSG%3A6859' + '&' + + 'BBOX=' + VBox + '&' + + 'WIDTH=256' + '&' + + 'HEIGHT=256'; + + // crypt + for I := 1 to Length(VEncoded) do + VEncoded[I] := Chr(Ord(VEncoded[I]) xor 42); + + // Base64 encode + VEncoded := Base64Encode(VEncoded); + + //replase "+" with "%2b" charset + VEncoded := RegExprReplaceMatchSubStr(VEncoded, '\+', '\%2b'); + + ResultURL:=GetURLBase + VEncoded + '&NAVKEY=NAVIONICS11WEBAPI111&TEST=' + VBox + '&ZOOM=' + IntToStr(GetZ) + '&v=1&SRC=http://www.navionics.com'; + + RequestHead := 'Referer: http://www.navionics.com/sites/navionics.plurimedia.it/files/coverage/webapp.html?2985400'; +end. \ No newline at end of file diff --git a/navionics.SonarCharts.zmp/params.txt b/navionics.SonarCharts.zmp/params.txt new file mode 100644 index 000000000..7d23eca8a --- /dev/null +++ b/navionics.SonarCharts.zmp/params.txt @@ -0,0 +1,17 @@ +[PARAMS] +GUID={AF5C7247-0543-4DBB-B4B1-5E969C9EB942} +name=Navionics SonarCharts +name_en=Navionics SonarCharts +name_uk=Navionics SonarCharts +ParentSubMenu=Морские карты +ParentSubMenu_en=Marine maps +ParentSubMenu_uk=Marine maps +asLayer=0 +DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= +NameInCache=navionics.SonarCharts +Ext=.png +UseDwn=1 +ContentType=image/png +projection=2 +sradiusa=6378388 +sradiusb=6356912