Implements the tilelive api for a variety of data sources
Clone or download
Pull request Compare This branch is 5 commits ahead, 94 commits behind mapbox:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
CHANGELOG.md
index.js
package.json
readme.md
template.xml

readme.md

tilelive-omnivore

Implements the tilelive api for a variety of raw data sources

Build Status Coverage Status

Install

npm install -g tilelive-omnivore

Example

var Omnivore = require('tilelive-omnivore');
var filepath = '/absolute/path/to/geographic/data';
var uri = 'omnivore://' + filepath;

new Omnivore(uri, function(err, source) {
  source.getInfo(function(err, info) {
    console.log(info);
  });
});

Works with

any file supported by mapnik-omnivore