mapbox / mapbox-cli-py

Command line interface to Mapbox Web Services
MIT License
164 stars 44 forks source link

Retreiving tilesets #130

Open troutinsights opened 4 years ago

troutinsights commented 4 years ago

We have been publishing vector data directly into the Mapbox upload interface as tilesets, typically as either .geoJSONs or MBTiles. Can Mapbox API retrieve the original datasets using the tileset CLI or any other means? We can see that datasets can be modified and retrieved, but have not seen the same for tilesets. We are also aware you can add the Mapbox styles into QGIS, but are still unsure of how to retrieve specific tilesets within the style in something like QGIS.

We have unfortunately lost the original computer in a theft incident, and hadn't integrated the GIS data in some time due to filesize constraints. Thus, figuring out how to retrieve the latest datasets from the server is of significant importance and value at this time. Any help will go a long way!

AidenQuinn commented 4 years ago

Hey @troutinsights! Sorry for the delay. Unfortunately tilesets cannot be downloaded from the Tilesets UI or retrieved with the Tilesets API. That's addressed briefly in docs about collaboration:

Resource management. Tilesets cannot be exported from one account and transferred to another. Styles can be downloaded from one account and re-uploaded to another account. If the style uses any custom fonts or icons, they will need to be added back manually. There is no programmatic way to move resources from one account to another - contact us with questions.

This info could definitely have more prominence - I can make a PR about this, maybe for the glossary entry on tilesets: https://docs.mapbox.com/help/glossary/tileset/.

Have you had the chance to open a support ticket about your case to chat specifics?

cc @brsbl @jc-clark @mapsam