Eniro / skippo
I managed to get some Swedish charts into the charts plugin. However, it seems the plugin does not cache them, at least not all of them. Since the charts' source is online, I risk getting blank squares instead of charts if the connection is bad. Is there a way to download charts (tilelayer) and store them on the local server?
28 Replies
Some 7 years ago I made a shitty nodejs script to achieve this: https://github.com/vokkim/xyz-to-mbtiles
But what you could do is: (somehow) download all chart tiles from relevant places and store it into single MBTiles file (sqlite db). That tool from the link used to do it, but I don't think I've ran it in 4 years so don't know if it still works...
there are dedicated apps for caching and prefetching/seeding map tiles like MapProxy
@Владимир Калачихин can fill in details about GaladrielMaps - can it be used with Signal K charts plugin, so that apps like Freeboard could use the same charts?
GaladrielCache, on this case:
https://github.com/VladimirKalachikhin/Galadriel-cache

How did you do that? Manage to use Skippos API to download maptiles? I would love to be able to do that.
I do not know what it is Skippos API ...
Have you read the documentation for GaladrielCache?
Actually, if you're interested in exactly ENIRO, you can do it like this: or even like this:


How?
I need to check when on my computer, will send pm.
Tack!
But where do I find the settings for eniro?
@vokkim This summer I made it from Denmark to the Aland Islands and now plan to go to Finland. I found your repo https://github.com/vokkim/rannikkokartat-mbtiles and downloaded the mbtiles-map for Finland, works fine. Now I wondered how I could get more recent chart data.
I checked, the original wmts service is not available anymore (https://julkinen.liikennevirasto.fi/rasteripalvelu/wmts). I tried to find other services that might deliver coastal charts and found https://julkinen.traficom.fi/inspirepalvelu/avoin/wms and https://julkinen.traficom.fi/inspirepalvelu/rajoitettu/wms as well as https://julkinen.traficom.fi/rasteripalvelu/wmts (the latter also accessible https://julkinen.traficom.fi/oskari/). The online viewer (last link) actually shows coastal charts. But so far I was not able to access the wmts server via the charts plugin of signalk.
Do you have more insight, under what service I could probably access recent coastal charts for Finland?
Yes https://julkinen.traficom.fi/rasteripalvelu/wmts?request=getcapabilities is the official one and I'm not aware of any other free/open tileserver.
Which charts plugin are you using?
I have not had any screen with signalk for years now, so I'm out of loop with all the charts and plugin stuff.
That mbtiles is old, but there's a quality problem with the rasterized charts currently offered by those official services - sampling/antialising is broken and it looks very bad. I've been waiting for all the finnish charts to be renewed during 2024-26, and create an updated mbtiles then.
I'd recommend the official paper charts 😉



demo of the qualities for 3 different RNCs from Oskari
Heh. The
https://traficom.fi/
is available for me, but not julkinen.traficom.fi
🙁Thank you for the quick response! I'm using the signalk charts plugin, this also supports wms and wmts, which I'm using for some other layers. Besides, I'm running a map-proxy instance to cache any online chart sources. The map-proxy service then provides charts in the xyz-format, which I then use with the signalk charts plugin.
Ok, one step further. Afte having no success with using via the sk charts plugin, I added https://julkinen.traficom.fi/rasteripalvelu/wmts? to qgis. There I only need to specifiy the server url and then get a dropdown menu of all available layers. Interestingly, per layer I get another dropdown menu, where I need to select e.g. "WGS84_Pseudo-Mercator", which is (when comparing back to the xml that I get via getCapabilities,) the "TileMatrixSet". Then I can see the charts in qgis. In the sk charts plugin I see not option to specifiy the TilematrixSet, I guess, this is why I had no success to add this chart source to the sk plugin.
I will try using this chart source via map-proxy, there I have more options to specify the specific setup of the wms/wmts server.
Yeah I'm not sure if the chart plugin actually supports wmts
It supports wtms as REST (xyz-format), that's what I use in the sk-plugin to use the wmts-sources that I serve via my mapproxy instance. I don't know, if it also supports wmts as KVP service.
I have created for AvNav-mapproxy Finlands S57 WMS Layer
Have a fun
works also with the charts plugin & Freeboard:
That works both. Thank you, I haven't tried the s57 service before.
Traficom S57 chart is fine, but personally I don't like S-52 symbology at all.
https://www.bluemarblegeo.com/knowledgebase/global-mapper/images/Examples/s52Symbols.png
It is hard enough being partly red-green colorblind and chart with S-52 symbols add pain 😬
Same..
I fully agree. The chart style of the Finland charts, that vokkim provides on his github, is far better. Close to the classic paper chart style and for boaters a more reasonable color grading of depths zones.
Symbols are something that you can adjust to, but lack of color grading not
works nicely in docker, by putting this docker-compose.yml (https://pastebin.com/QfnC505k) in the base of the unpacked file. thanks!
🙂
I recommend upgrading to a newer version. At the same time, get the maps that are discussed.
Was shared a few years ago (I was involved 🙂 ) Mats shared on his blog:
https://pysselilivet.blogspot.com/2020/11/eniro-charts-using-signalk-freeboard.html#more
