NOAA ENC Charts

I've used Open CPN to download the NOAA ENC charts for California. Downloaded to the /.signalk/charts. It created a series of folders inside i.e. /home/rhumbrunner/.signalk/charts/ENC/US_CA/US1WC01M... Inside those are a series of .txt files. How do I get the Signal K Charts plugin to process these files and make then available to Freeboard SK? I have tried adding the full path inside the plugin like above and still nothing is showing up, only the MBTiles I had previously downloaded are there.
12 Replies
Rhumb Runner
Rhumb RunnerOP7mo ago
Also is there a way to re-name the way the MBTiles files show up in Freeboard SK they all show up as "SG Area" with a description of "summary". Here's what I get from http://localhost:3000/signalk/v2/api/resources/charts/... { "ncds_19a": { "identifier": "ncds_19a", "name": "SG_AREA", "description": "summary", "bounds": [-123.501111, 15, -116.166667, 33.783333], "minzoom": 0, "maxzoom": 17, "format": "png", "type": "tilelayer", "scale": 250000, "url": "/signalk/v2/api/resources/charts/ncds_19a/{z}/{x}/{y}", "layers": [] }, "ncds_19b": { "identifier": "ncds_19b", "name": "SG_AREA", "description": "summary", "bounds": [-123.501111, 33.783333, -113.905556, 37.166667], "minzoom": 0, "maxzoom": 16, "format": "png", "type": "tilelayer", "scale": 250000, "url": "/signalk/v2/api/resources/charts/ncds_19b/{z}/{x}/{y}", "layers": [] } }
AdrianP
AdrianP7mo ago
Firstly S57 enc charts are supported once they have been "tiled" see https://github.com/SignalK/freeboard-sk/blob/master/README.md Freeboard-SK displays the name from the chart metadata... So you can change the text in the file to the appropriate value.
Rhumb Runner
Rhumb RunnerOP7mo ago
bash: docker: command not found did sudo apt install docker and still getting the command not found
Rhumb Runner
Rhumb RunnerOP7mo ago
docker installed finally... Hello-world works. Now I get this when I try to produce the tiles. docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied sudo docker run -v ./signalk/charts:/app/workdir wdantuma/s57-tiler:latest /app/s57-tiler --in workdir/ENC --out workdir/ENC_Tiles Unable to find image 'wdantuma/s57-tiler:latest' locally latest: Pulling from wdantuma/s57-tiler 2b3981cac065: Pull complete 4f4fb700ef54: Pull complete f58e2f6d3b3f: Pull complete 4a85d497128f: Pull complete 56f119a6d78c: Pull complete a307c8c3779c: Pull complete 728510b031fb: Pull complete 7eb10f45f755: Pull complete 429ac6c503ca: Pull complete 219f60706c87: Pull complete e01f3b7034c9: Pull complete 54d67a73043d: Pull complete 3c8445f03a1f: Pull complete b0765e1815cc: Pull complete adda8e1f580d: Pull complete 22a6d7cd106a: Pull complete 01b475df7b8e: Pull complete Digest: sha256:bd7d83076f5cb8ecdd44ec3e0493567a6325fb6c9ce752a3a0442e426c25ab83 Status: Downloaded newer image for wdantuma/s57-tiler:latest WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested exec /app/s57-tiler: exec format error Dove into the github issues for wdantuma/s57-tiler it's a known issue that there isn't an arm64 docker image... I don't have a Linux based laptop. Is there any other way to product the tiles?
BlackSea
BlackSea7mo ago
1. git clone https://github.com/wdantuma/s57-tiler.git 2. cd s57-tiler 3. sed -i "s/amd64/arm64/g" Dockerfile 4. docker build -t s57-tiler:latest .
Rhumb Runner
Rhumb RunnerOP7mo ago
There seems to be some steps missing. When I get to step 4. here's what I get... rhumbrunner@rhumbrunner:~/s57-tiler $ sudo docker build -tag s57-tiler:latest [+] Building 0.0s (0/0) docker:default ERROR: unable to prepare context: path "s57-tiler:latest" not found If I get it built. Then how do I process the files? I have the unprocessed files in ./ENC and want the output in ./Charts Thanks for the help...
AdrianP
AdrianP7mo ago
@Willem Dantuma any ideas
free-x
free-x7mo ago
README? docker run -v ./signalk-charts:/app/workdir s57-tiler:latest /app/s57-tiler --in workdir/enc --out workdir/charts
Willem Dantuma
Willem Dantuma6mo ago
You don't need a linux laptop, you can run the docker images also on windows and macos ( with docker installed )
Skybolt
Skybolt3mo ago
Not trying to dis-credit this thread, but nothing in this thread works as described. Either does github. There are steps left out and certain install(s) assumed other then what is listed. I could not get this to even come close to working. I am sure it works for some, but others like this OP and myself it does not. That said there is an easier way, just download the mbtiles from NOAA and Freeboard just works - https://distribution.charts.noaa.gov/ncds/index.html
Skybolt
Skybolt3mo ago
Again not trying to dis-credit @Willem Dantuma or anyone else in this thread. But download the MBtile directly and it works without all of this.
No description

Did you find this page helpful?