tilelive-raster

0.5.0 • Public • Published

tilelive-raster

I am a tilelive source for simple rasters, both local and remote.

Usage

This is intended for RGB(A) multiband rasters. It uses Mapnik (via tilelive-mapnik) and GDAL (via node-gdal) under the hood to inspect rasters and render them, so it should work with any format that GDAL supports (and has been compiled with support for).

// fetch a remote raster (it will be cached in $TMPDIR and cleaned up when the
// process exits)
tilelive.load("raster+http://example.com/whatever.tif", ...);

// generate tiles from a local raster
tilelive.load("raster+file://./whatever.tif", ...);

Readme

Keywords

none

Package Sidebar

Install

npm i tilelive-raster

Weekly Downloads

10

Version

0.5.0

License

ISC

Unpacked Size

9.38 kB

Total Files

5

Last publish

Collaborators

  • mojodna