0.7.0 • Published 9 years ago

happytiff v0.7.0

Weekly downloads
43
License
-
Repository
github
Last release
9 years ago

travis

happytiff

HappyTIFF

A HappyTIFF is a GeoTIFF with extents that match exactly those of a web mercator ZXY tile.

This library can be used to verify that a GeoTIFF is a HappyTIFF.

happytiff CLI command:

Usage: happytiff <filepath>

# install happytiff
sudo npm install -g happytiff

# example run against a tif file
happytiff test/fixtures/91-50-7.valid.tif
{
  "z": 7,
  "x": 91,
  "y": 50
}

JS API:

var happytiff = require('happytiff');
var filepath = __dirname + '/test/fixtures/91-50-7.valid.tif';

happytiff.info(function(filepath, function(err, info) {
    console.log(info);
    // { x: 91, y: 50, z: 7 }
});

Source data

The test images in test/fixtures are open data from:

91-50-7.valid.tif   landsat 8 composite, USGS (http://www.usgs.gov)
invalid.tif         flanders composite, AGIV (https://www.agiv.be)
0.7.0

9 years ago

0.6.0

9 years ago

0.5.2

9 years ago

0.5.0

9 years ago

0.4.0

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.1

11 years ago