diff --git a/_water/navionics.SonarCharts.layer.zmp/18.bmp b/_water/navionics.SonarChart.layer.zmp/18.bmp similarity index 100% rename from _water/navionics.SonarCharts.layer.zmp/18.bmp rename to _water/navionics.SonarChart.layer.zmp/18.bmp diff --git a/_water/navionics.SonarCharts.layer.zmp/24.bmp b/_water/navionics.SonarChart.layer.zmp/24.bmp similarity index 100% rename from _water/navionics.SonarCharts.layer.zmp/24.bmp rename to _water/navionics.SonarChart.layer.zmp/24.bmp diff --git a/_water/navionics.SonarChart.layer.zmp/EmptyTiles/empty.png b/_water/navionics.SonarChart.layer.zmp/EmptyTiles/empty.png new file mode 100644 index 00000000..4fe9ab37 Binary files /dev/null and b/_water/navionics.SonarChart.layer.zmp/EmptyTiles/empty.png differ diff --git a/_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt b/_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt new file mode 100644 index 00000000..1eaf49fd --- /dev/null +++ b/_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_1&TRANSPARENT=TRUE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.SonarChart.layer.zmp/params.txt b/_water/navionics.SonarChart.layer.zmp/params.txt new file mode 100644 index 00000000..0f945594 --- /dev/null +++ b/_water/navionics.SonarChart.layer.zmp/params.txt @@ -0,0 +1,14 @@ +[PARAMS] +GUID={2333E9D3-EB95-466D-AC14-2CFFCDB509C2} +name=Navionics SonarChart(TM) +ParentSubMenu_ru=Морские карты (SonarChart) +ParentSubMenu=Marine maps +asLayer=1 +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics_sonarchart_layer +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html diff --git a/_water/navionics.SonarCharts.zmp/18.bmp b/_water/navionics.SonarChart.zmp/18.bmp similarity index 100% rename from _water/navionics.SonarCharts.zmp/18.bmp rename to _water/navionics.SonarChart.zmp/18.bmp diff --git a/_water/navionics.SonarCharts.zmp/24.bmp b/_water/navionics.SonarChart.zmp/24.bmp similarity index 100% rename from _water/navionics.SonarCharts.zmp/24.bmp rename to _water/navionics.SonarChart.zmp/24.bmp diff --git a/_water/navionics.SonarChart.zmp/GetUrlScript.txt b/_water/navionics.SonarChart.zmp/GetUrlScript.txt new file mode 100644 index 00000000..c23be74b --- /dev/null +++ b/_water/navionics.SonarChart.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_1&TRANSPARENT=FALSE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.SonarChart.zmp/params.txt b/_water/navionics.SonarChart.zmp/params.txt new file mode 100644 index 00000000..f2a6b009 --- /dev/null +++ b/_water/navionics.SonarChart.zmp/params.txt @@ -0,0 +1,13 @@ +[PARAMS] +GUID={247A02DC-5204-46FC-8D23-828AFC83A434} +name=Navionics SonarChart(TM) +ParentSubMenu_ru=Морские карты (SonarChart) +ParentSubMenu=Marine maps +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics_sonarchart +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html diff --git a/_water/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png b/_water/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e646..00000000 Binary files a/_water/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png and /dev/null differ diff --git a/_water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt b/_water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt deleted file mode 100644 index f034a399..00000000 --- a/_water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt +++ /dev/null @@ -1,33 +0,0 @@ -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/_water/navionics.SonarCharts.layer.zmp/params.txt b/_water/navionics.SonarCharts.layer.zmp/params.txt deleted file mode 100644 index d40d69bd..00000000 --- a/_water/navionics.SonarCharts.layer.zmp/params.txt +++ /dev/null @@ -1,13 +0,0 @@ -[PARAMS] -GUID={BF5C7247-0543-4DBB-B4B1-5E969C9EB942} -name=Navionics SonarCharts -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -asLayer=1 -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics.SonarCharts.layer -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.SonarCharts.zmp/EmptyTiles/empty.png b/_water/navionics.SonarCharts.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e646..00000000 Binary files a/_water/navionics.SonarCharts.zmp/EmptyTiles/empty.png and /dev/null differ diff --git a/_water/navionics.SonarCharts.zmp/GetUrlScript.txt b/_water/navionics.SonarCharts.zmp/GetUrlScript.txt deleted file mode 100644 index 97ddb8f0..00000000 --- a/_water/navionics.SonarCharts.zmp/GetUrlScript.txt +++ /dev/null @@ -1,33 +0,0 @@ -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/_water/navionics.SonarCharts.zmp/params.txt b/_water/navionics.SonarCharts.zmp/params.txt deleted file mode 100644 index 639098e8..00000000 --- a/_water/navionics.SonarCharts.zmp/params.txt +++ /dev/null @@ -1,12 +0,0 @@ -[PARAMS] -GUID={AF5C7247-0543-4DBB-B4B1-5E969C9EB942} -name=Navionics SonarCharts -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics.SonarCharts -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.com.layer.zmp/EmptyTiles/empty.png b/_water/navionics.com.layer.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e646..00000000 Binary files a/_water/navionics.com.layer.zmp/EmptyTiles/empty.png and /dev/null differ diff --git a/_water/navionics.com.layer.zmp/GetUrlScript.txt b/_water/navionics.com.layer.zmp/GetUrlScript.txt deleted file mode 100644 index ff167533..00000000 --- a/_water/navionics.com.layer.zmp/GetUrlScript.txt +++ /dev/null @@ -1,34 +0,0 @@ -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=osm_ram' + '&' + - 'TRANSPARENT=TRUE' + '&' + - 'SERVICE=WMS' + '&' + - 'VERSION=1.1.1' + '&' + - 'REQUEST=GetMap' + '&' + - 'STYLES=' + '&' + - 'FORMAT=image%2Fpng' + '&' + - 'SRS=EPSG%3A3395' + '&' + - 'WIDTH=256' + '&' + - 'HEIGHT=256' + '&' + - 'BBOX=' + VBox; - - // 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/_water/navionics.com.layer.zmp/params.txt b/_water/navionics.com.layer.zmp/params.txt deleted file mode 100644 index ba9203cc..00000000 --- a/_water/navionics.com.layer.zmp/params.txt +++ /dev/null @@ -1,13 +0,0 @@ -[PARAMS] -GUID={1F5C7247-9999-4DBB-B4B1-5E969C9EB942} -name=Navionics (http://www.navionics.com/en/) -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -asLayer=1 -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics_com_layer -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.com.zmp/EmptyTiles/empty.png b/_water/navionics.com.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e646..00000000 Binary files a/_water/navionics.com.zmp/EmptyTiles/empty.png and /dev/null differ diff --git a/_water/navionics.com.zmp/GetUrlScript.txt b/_water/navionics.com.zmp/GetUrlScript.txt deleted file mode 100644 index 37e43112..00000000 --- a/_water/navionics.com.zmp/GetUrlScript.txt +++ /dev/null @@ -1,33 +0,0 @@ -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=osm_ram' + '&' + - 'SERVICE=WMS' + '&' + - 'VERSION=1.1.1' + '&' + - 'REQUEST=GetMap' + '&' + - 'STYLES=' + '&' + - 'FORMAT=image%2Fpng' + '&' + - 'SRS=EPSG%3A3395' + '&' + - 'WIDTH=256' + '&' + - 'HEIGHT=256' + '&' + - 'BBOX=' + VBox; - - // 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/_water/navionics.com.zmp/params.txt b/_water/navionics.com.zmp/params.txt deleted file mode 100644 index 199f3ed7..00000000 --- a/_water/navionics.com.zmp/params.txt +++ /dev/null @@ -1,12 +0,0 @@ -[PARAMS] -GUID={1F5C7247-0543-4DBB-B4B1-5E969C9EB942} -name=Navionics (http://www.navionics.com/en/) -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics_com -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.com.layer.zmp/18.bmp b/_water/navionics.layer.zmp/18.bmp similarity index 100% rename from _water/navionics.com.layer.zmp/18.bmp rename to _water/navionics.layer.zmp/18.bmp diff --git a/_water/navionics.com.layer.zmp/24.bmp b/_water/navionics.layer.zmp/24.bmp similarity index 100% rename from _water/navionics.com.layer.zmp/24.bmp rename to _water/navionics.layer.zmp/24.bmp diff --git a/_water/navionics.layer.zmp/EmptyTiles/empty.png b/_water/navionics.layer.zmp/EmptyTiles/empty.png new file mode 100644 index 00000000..4fe9ab37 Binary files /dev/null and b/_water/navionics.layer.zmp/EmptyTiles/empty.png differ diff --git a/_water/navionics.layer.zmp/GetUrlScript.txt b/_water/navionics.layer.zmp/GetUrlScript.txt new file mode 100644 index 00000000..04b03d64 --- /dev/null +++ b/_water/navionics.layer.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_0&TRANSPARENT=TRUE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.layer.zmp/params.txt b/_water/navionics.layer.zmp/params.txt new file mode 100644 index 00000000..0158dedc --- /dev/null +++ b/_water/navionics.layer.zmp/params.txt @@ -0,0 +1,14 @@ +[PARAMS] +GUID={1F1D2343-8575-4BEE-8C33-DBFEF8D53BE5} +name=Navionics Marine Charts +ParentSubMenu_ru=Морские карты +ParentSubMenu=Marine maps +asLayer=1 +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics_layer +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html diff --git a/_water/navionics.com.zmp/18.bmp b/_water/navionics.zmp/18.bmp similarity index 100% rename from _water/navionics.com.zmp/18.bmp rename to _water/navionics.zmp/18.bmp diff --git a/_water/navionics.com.zmp/24.bmp b/_water/navionics.zmp/24.bmp similarity index 100% rename from _water/navionics.com.zmp/24.bmp rename to _water/navionics.zmp/24.bmp diff --git a/_water/navionics.zmp/GetUrlScript.txt b/_water/navionics.zmp/GetUrlScript.txt new file mode 100644 index 00000000..67f4ba95 --- /dev/null +++ b/_water/navionics.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_0&TRANSPARENT=FALSE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.zmp/params.txt b/_water/navionics.zmp/params.txt new file mode 100644 index 00000000..21678a21 --- /dev/null +++ b/_water/navionics.zmp/params.txt @@ -0,0 +1,13 @@ +[PARAMS] +GUID={A830C100-49C8-4623-957A-60B85C39FBE0} +name=Navionics Marine Charts +ParentSubMenu_ru=Морские карты +ParentSubMenu=Marine maps +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html