@mapbox/tilelive-omnivore

Implements the tilelive API for a variety of raw data formats

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
76Dec 1, 2020Oct 29, 2014Minified + gzip package size for @mapbox/tilelive-omnivore in KB

Readme

tilelive-omnivore

Implements the tilelive api for a variety of raw data sources

Build Status

Install

npm install -g @mapbox/tilelive-omnivore

Example

var Omnivore = require('@mapbox/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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.