Convert s57 ENC charts to vector tiles and render them in MapLibre / Mapbox. MapLibre can be included in various frontends like Qt, GLFW, iOS, Android, MacOS, Windows and more.
❗ The state of the style is early work in progress! |
---|
I am taking this excellent repo to convert to mbtiles and then generate the respective style to render all the information aproppriately. The respective result can be view with tilserver-gl and the style can be improved using Maputnik, see the following section.
git clone this repo
git submodule update --init
docker build -t s57-mapping .
docker run --rm -v $PWD:/app s57-mapping scripts/work.sh
- Start tileserver to view vector map with or without style applied:
docker run --rm -v $(pwd)/output:/data -p 8080:8080 maptiler/tileserver-gl
- Run Maputnik to work on the style:
docker run --rm -it -p 8888:8888 maputnik/editor
To load the generated style and map data, click onOpen
and underLoad from URL
paste this URL:http://localhost:8080/styles/light/style.json
.