Skip to content

fieldpapers/tilelive-fieldpapers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tilelive-fieldpapers

I am a tilelive source for Field Papers atlases and snapshots.

Usage

This will look up rasters associated with a Field Papers atlas or snapshot and render them as tiles.

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).

tilelive.load("fieldpapers+http://fieldpapers.org/snapshots/xz4z2mkc", ...);

Debugging

tilelive-fieldpapers uses debug to facilitate debugging. To enable tilelive-fieldpapers-related messages, set DEBUG=tilelive-fieldpapers before running code that calls into this.

Quick links