An open API service indexing awesome lists of open source software.

https://github.com/fxi/tifftobathymetry

Tiff to bathymetry mbtiles using geotiff, d3-contour and tippecanoe
https://github.com/fxi/tifftobathymetry

Last synced: 2 months ago
JSON representation

Tiff to bathymetry mbtiles using geotiff, d3-contour and tippecanoe

Awesome Lists containing this project

README

        

# Script to convert tiff to bathymetry contour mbtiles

![sample](images/bathymetry_sample.gif)

## Install

- `brew install tippecanoe`
- `npm install`

## Data preprocessing

1. Download SRTM data from http://www.shadedrelief.com/cleantopo2/
2. Replace value above 10000 by nulls. In GRASS : `r.mapcalc expression="clean_topo_ocean = clean_topo > 10000 ? null() : 10000 - clean_topo" --overwrite`
3. Export as geotiff

## Configuration

- none. Yet. It's hardcoded in the script

## Usage

1. Put tiff in './in' folder
2. node index.js
3. Output will be in '/out' folder