Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.42 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.42 KB

MapLibre-Nautical

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!

Worfklow

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.

  1. git clone this repo
  2. git submodule update --init
  3. docker build -t s57-mapping .
  4. docker run --rm -v $PWD:/app s57-mapping scripts/work.sh

Result

  • 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 on Openand under Load from URL paste this URL: http://localhost:8080/styles/light/style.json.