This tool is used to convert ENC files (S-57) to mbtiles.
Internally this uses:
enc
togeojson
using gdal'sogr2ogr
geojson
tombtiles
using mapbox'stippecanoe
- Git
- Docker
This tool uses a bunch of tools internally so it has been dockerised with a simple cli exposed.
- Clone this repo:
git clone [email protected]:Greenroom-Robotics/enc-mapbox-converter.git
- Build the docker container
docker build . -t enc-converter
- Run the cli. Be sure to replace
<absolute_path_to_this_repo>
docker run -it -v /$PWD:/app enc-converter python3 cli.py
- You will be prompted for an input file and output name. For example.
Input file path: /app/example/US5OH10M/US5OH10M.000
Output file name: output_mb_tiles_file
- Look in
./output_mbtiles
and you will find your.mbtiles
file!