Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

happytiff

Package Overview
Dependencies
Maintainers
51
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happytiff

Utility to detect/verify happytiffs

  • 0.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
51
Created
Source

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)

FAQs

Package last updated on 16 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc