Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create single tileset for multiple files #26

Open
GretaCB opened this issue Mar 4, 2016 · 2 comments
Open

Create single tileset for multiple files #26

GretaCB opened this issue Mar 4, 2016 · 2 comments

Comments

@GretaCB
Copy link
Contributor

GretaCB commented Mar 4, 2016

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

@rclark
Copy link
Contributor

rclark commented Mar 4, 2016

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

@wilhelmberg
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants