@mapbox/tilelive-omnivore

4.3.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @mapbox/tilelive-omnivore

Weekly Downloads

16

Version

4.3.0

License

ISC

Unpacked Size

50.5 kB

Total Files

31

Last publish

Collaborators

  • mbx-npm-ci-production
  • mbx-npm-ci-staging
  • mbx-npm-advanced-actions-production
  • mbx-npm-advanced-actions-staging
  • mbx-npm-09-production
  • mbx-npm-08-production
  • mbx-npm-07-production
  • mbx-npm-06-production
  • mbx-npm-05-production
  • mbx-npm-04-production
  • mbx-npm-03-production
  • mbx-npm-02-production
  • mbx-npm-01-production
  • mbx-npm-02-staging
  • mapbox-npm-01
  • mapbox-npm-02
  • mapbox-npm-07
  • mapbox-npm-03
  • mapbox-npm-04
  • mapbox-npm-09
  • mapbox-npm-05
  • mapbox-npm-06
  • mapbox-npm-08
  • mapbox-npm-advanced-actions
  • mapbox-npm-ci
  • mapbox-npm
  • mapbox-admin
  • mapbox-machine-user