wmtiff

Reproject a TIFF into web mercator using node-gdal.

Usage no npm install needed!

<script type="module">
  import wmtiff from 'https://cdn.skypack.dev/wmtiff';
</script>

README

Web Mercator Tiff

Reproject a TIFF into web mercator using node-gdal.

Usage

On the command line:

wmtiff [srcpath] [dstpath]

In node:

var wmtiff = require('wmtiff');
var path = require('path');

var srcpath = path.join('path', 'to', 'source', 'image');
var dstpath = path.join('path', 'to', 'destination', 'image');

wmtiff.reproject(srcpath, dstpath);