Author Topic: [MAP Overlay] Weather Forecast Tiles  (Read 2855 times)

Offline brotbuexe

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 148
  • Thanked: 1 times
    • View Profile
[MAP Overlay] Weather Forecast Tiles
« on: May 01, 2012, 13:04:26 »
Hi,

http://www.openseamap.org have weather forecast overlays.
Terms of use: http://www.bluewater-info.net/wiki_/Hel ... ther_tiles
More Infor: http://www.bluewater-info.net/wiki_/Help:Weather_tiles

About the forecasttime (from http://www.bluewater-info.net/wiki_/Help:Weather_tiles):

Now the forcast time is following with "t/". Actually "t" can have the following values: 5, 7, 9, 11, 15, 19, 23 or 27. A more detailed description for "t":
    1 means, that the forecast time is identical with the "starttime" of the forecast witch is already a little bit in the past. The reason for this: The starttime is the moment when the NOAA-server starts with the calculation of the forecast. After about 6h the calculation is finished and the data ist avialable..
    Each increasing of "t" by 1 moves the forecast time 3h to the future. If the starttime of the forecast is e.g. 13.7.2010 6:00 UTC, then "t=10" results in a forecast for 14.7.2010 12:00 UTC.
    Due to the fact that openportguide.org is automaticly using the newest NOAA forecast, the forecast time of you request has alwaysmore or less the same distance to the actual time.

 I used "5" in the tileurl.

if it does not exist, create a /sdcard/locus/mapsOnline/custom/provider.xml and insert this text, or download the attached version (rename from providers.xml.txt to providers.xml):
If it already exist edit it and just insert the <provider*> ... </provider> stuff inside the <providers> ... </providers> xml tags.

Code: [Select]
<?xml version="1.0"?>
<providers>
<provider id="10301" type="0" visible="true" required="false" background="-1">
<name>OpenPortGuide.org weather forecast layers</name>
<mode>air temperature forecast</mode>
<area></area>
<url><![CDATA[http://www.openportguide.org/tiles/actual/air_temperature/5/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>12</zoomMin>
<zoomMax>15</zoomMax>
<tileSize>256</tileSize>
<attribution>Weather overlays tiles come from OpenPortGuide.org, Terms of Use: http://www.bluewater-info.net/wiki_/Help:Terms_of_use_weather_tiles</attribution>
</provider>
<provider id="10302" type="0" visible="true" required="false" background="-1">
<name>OpenPortGuide.org weather forecast layers</name>
<mode>precipitation forecast</mode>
<area></area>
<url><![CDATA[http://www.openportguide.org/tiles/actual/precipitation/5/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>12</zoomMin>
<zoomMax>15</zoomMax>
<tileSize>256</tileSize>
<attribution>Weather overlays tiles come from OpenPortGuide.org, Terms of Use: http://www.bluewater-info.net/wiki_/Help:Terms_of_use_weather_tiles</attribution>
</provider>
<provider id="10303" type="0" visible="true" required="false" background="-1">
<name>OpenPortGuide.org weather forecast layers</name>
<mode>wind vector forecast</mode>
<area></area>
<url><![CDATA[http://www.openportguide.org/tiles/actual/wind_vector/5/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>12</zoomMin>
<zoomMax>15</zoomMax>
<tileSize>256</tileSize>
<attribution>Weather overlays tiles come from OpenPortGuide.org, Terms of Use: http://www.bluewater-info.net/wiki_/Help:Terms_of_use_weather_tiles</attribution>
</provider>
<provider id="10304" type="0" visible="true" required="false" background="-1">
<name>OpenPortGuide.org weather forecast layers</name>
<mode>surface pressure forecast</mode>
<area></area>
<url><![CDATA[http://www.openportguide.org/tiles/actual/surface_pressure/5/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>12</zoomMin>
<zoomMax>15</zoomMax>
<tileSize>256</tileSize>
<attribution>Weather overlays tiles come from OpenPortGuide.org, Terms of Use: http://www.bluewater-info.net/wiki_/Help:Terms_of_use_weather_tiles</attribution>
</provider>
<provider id="10305" type="0" visible="true" required="false" background="-1">
<name>OpenPortGuide.org weather forecast layers</name>
<mode>wave height forecast</mode>
<area></area>
<url><![CDATA[http://www.openportguide.org/tiles/actual/significant_wave_height/5/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>12</zoomMin>
<zoomMax>15</zoomMax>
<tileSize>256</tileSize>
<attribution>Weather overlays tiles come from OpenPortGuide.org, Terms of Use: http://www.bluewater-info.net/wiki_/Help:Terms_of_use_weather_tiles</attribution>
</provider>
</providers>

Now you have new maps you can use as overlays in 2.3.X (Main menu / Functions / Map overlays), you can add this function to the right toolbar for quicker use...

To get actual data after u used it, you have to run clear cache on the online map (Map manager / Tools button on the right side of the map in the list / Clear cache). You can also set the "Valid for"
« Last Edit: January 01, 1970, 01:00:00 by Guest »