wmtiff
v0.4.2
Published
Reproject a TIFF into web mercator using [`node-gdal`](https://github.com/naturalatlas/node-gdal/).
Downloads
8
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);