Implements the tilelive api for a variety of data sources
JavaScript
Latest commit a53bcbb Jan 2, 2017 @tmcw tmcw committed with rclark Move package to @mapbox namespace. (#37)

readme.md

tilelive-omnivore

Implements the tilelive api for a variety of raw data sources

Build 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);
  });
});

Using the command line will output the XML directly to your shell.

mapnik-omnivore <filepath>

Works with

any file supported by mapnik-omnivore

Command Line