Skybolt - I'm trying to get the @signalk charts...
I'm trying to get the @signalk/Charts-plugin web app to work. The resource plugin points to valid reference /signalk/v2/api/resources/charts and the charts plugin works fine pointing to /home/skybolt/.signalk/charts. SK-Freeboard sees the charts just fine. The charts are mbtiles downloaded from the NOAA site and seem to work with everything except this plugin? Any thoughts?
12 Replies

I assume this section, area is for caching online providers.
Maybe have a look at https://www.npmjs.com/package/signalk-charts-provider-simple, could fit your usecase of up/downloading ready mbtiles and supports subfolders. Could you share the URL/Link where you downloaded them from NOAA? Thanks 🙏
Thanks. here is the donload link. They work great in OpenCPN as well.
https://distribution.charts.noaa.gov/ncds/index.html
Thanks, I am testing it atm.

Worked for me like charm, just saw that Freeboard-SK is not using the filename, mine is called SG_… inside FSK. I assume a area code or title inside the mbtiles. 🤷
I will investigate this.
@Skybolt what is not working? What would like to achieve that you can’t? If you have mbtiles files you don’t need the charts webapp for anything
@Teppo Kurki I was just trying to make sure all of the resources were working correctly. I was expecting the web app to show the chart details. Unless I am misunderstanding things, that app should see the charts?
@Dirk SV MOIN It was already working in Freeboard-SK. Yes, the charts come through with the SG_ Prefix. I'll give your PI a try and see if any thing changes.
The issue is that FSK uses the title inside the mbtiles instead the filename. You can see it on info when using v1.3.0 of the plugin, this displays the mbtiles info, Only NOAA can change this oficially, or FSK would use the filename instead of the title. Unsure if I can and are legaly allowed to update the title inside mbtiles, will look into this. Nevertheless, if NOAA would set it correctly, than it would be the best and we don’t need to implement a workaround.
https://github.com/SignalK/freeboard-sk/issues/308
Adrian from FSK sees it as a NOAA issue.
@Dirk SV MOIN Thank you for your input, but that wasn't why I posted this thread. I already knew the file name issue was NOAA's issue. But that wasn't part of the issue that I was asking about.
The issue I am asking about is the @signalk/Charts plugin and the webapp that isn't seeing any of the charts. I don't know that is even an issue, but since there is a web app to see the chart info, the fact that isn't working possibly is. Not a big as this was more of a question then an actual issue.
The problem with all plugin's is that you don't know any details unless you really dig in to the PI as there is usually no real description as to what they do, so there is some guessing involved. Some are better then others in describing what they do. In this case the PI is needed to make the chart path available to SK. But there is a web app that is also part of it and I have no idea what that is for.
There a 2 chart provider apps.
- The "classic" one [charts-provider], here Teppo is the expert.
- And [signalk-charts-provider-simple], which is my plugin. For the later I am just nearly ready to publish v1.4.0 that gives you the ability to modify the "Chart name" in the .mbtiles and there will be no issue anymore with Freeboard-SK.
Sorry for the confusion.
@Dirk SV MOIN No confusion and No Worries. I was simply looking to find out why the original Charts Plugin's web app wasn't working. Your simple PI sounds interesting and if the naming is added as a "fix" that's great and will most likely switch over to your PI. Thank you for adding this in it is appreciated.
Glad we could clarify them. You can use both in parralel, just use different folders in the Plugin Config for each to avoid complications. Enjoy!