Skip to content

This repo aims to import electronic navigational charts (ENC) in the standard data format S-57 to be rendered in MapLibre-Native similar to an electronic chart display and information system (ECDIS).

License

Notifications You must be signed in to change notification settings

alexg-k/MapLibre-Nautical

Repository files navigation

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.

About

This repo aims to import electronic navigational charts (ENC) in the standard data format S-57 to be rendered in MapLibre-Native similar to an electronic chart display and information system (ECDIS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published