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
vokkim
vokkim2y ago
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...
Teppo Kurki
Teppo Kurki2y ago
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?
Timberwolf
Timberwolf2y ago
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:
No description
No description
Jörgen
JörgenOP2y ago
How? I need to check when on my computer, will send pm.
Timberwolf
Timberwolf2y ago
Tack! But where do I find the settings for eniro?
chris
chris4w ago
@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?
vokkim
vokkim4w ago
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 😉
Teppo Kurki
Teppo Kurki4w ago
No description
No description
No description
Teppo Kurki
Teppo Kurki4w ago
demo of the qualities for 3 different RNCs from Oskari
Владимир Калачихин
Heh. The https://traficom.fi/ is available for me, but not julkinen.traficom.fi 🙁
chris
chris4w ago
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.
vokkim
vokkim4w ago
Yeah I'm not sure if the chart plugin actually supports wmts
chris
chris4w ago
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.
BlackSea
BlackSea4w ago
I have created for AvNav-mapproxy Finlands S57 WMS Layer
layers:
fi-s57:
title: fi-s57
sources: [c_fi-s57]
caches:
c_fi-s57:
grids: [webmercator]
sources: [s_fi-s57]
meta_size: [1,1]
cache:
type: mbtiles
filename: fi-s57.mbtiles
sources:
s_fi-s57:
type: wms
req:
url: https://julkinen.traficom.fi/s57/wms
layers: cells
style: style-id-201
wms_opts:
version: 1.1.1
supported_formats: ['image/png']
supported_srs: ['EPSG:3857']
layers:
fi-s57:
title: fi-s57
sources: [c_fi-s57]
caches:
c_fi-s57:
grids: [webmercator]
sources: [s_fi-s57]
meta_size: [1,1]
cache:
type: mbtiles
filename: fi-s57.mbtiles
sources:
s_fi-s57:
type: wms
req:
url: https://julkinen.traficom.fi/s57/wms
layers: cells
style: style-id-201
wms_opts:
version: 1.1.1
supported_formats: ['image/png']
supported_srs: ['EPSG:3857']
Have a fun
Teppo Kurki
Teppo Kurki4w ago
works also with the charts plugin & Freeboard:
"onlineChartProviders": [
{
"name": "FI S57",
"description": "FI S57",
"minzoom": 1,
"maxzoom": 24,
"serverType": "WMS",
"format": "png",
"url": "https://julkinen.traficom.fi/s57/wms",
"layers": [
"cells"
]
}]
"onlineChartProviders": [
{
"name": "FI S57",
"description": "FI S57",
"minzoom": 1,
"maxzoom": 24,
"serverType": "WMS",
"format": "png",
"url": "https://julkinen.traficom.fi/s57/wms",
"layers": [
"cells"
]
}]
chris
chris4w ago
That works both. Thank you, I haven't tried the s57 service before.
Karl-Erik Gustafsson
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 😬
Teppo Kurki
Teppo Kurki4w ago
Same..
chris
chris4w ago
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.
Teppo Kurki
Teppo Kurki4w ago
Symbols are something that you can adjust to, but lack of color grading not
elgreso
elgreso4w ago
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.
Tore Dahl
Tore Dahl2w ago
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
Tore Dahl
Tore Dahl2w ago
No description

Did you find this page helpful?