mapbox/tilelive-omnivore

Create single tileset for multiple files

GretaCB opened this issue · 2 comments

Allow tilelive-omnivore to create a single tileset for not only bundled and converted geojson layers, but also multiple files in general. Will require some experimenting here, and some changes from within mapbox-tile-copy as well (mapbox-tile-copy will be passing in the new array of files). But separating into its own bubble here to help modularize the thought process.

Tilelive-omnivore will need to:

cc @BergWerkGIS @rclark

It'll probably also need to file-sniff each file included in the uri. I don't think we want to get into a situation where there are layers within layers:

- layerA.geojson
- layerB.geojson
- layerC.kml (!!!)
  - kml-layerA
  - kml-layerB

This would mean we reject file arrays that don't consist entirely of TIF, geojson, and CSV files.

allow an array of files as uri param.

Let's try to keep the URI as a string:

omnivore:///path/to/layerA.geojson,/path/to/layerB.geojson