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

tilesets view-recipe confusingly includes recipe wrapper #126

Open
e-n-f opened this issue Feb 15, 2021 · 0 comments
Open

tilesets view-recipe confusingly includes recipe wrapper #126

e-n-f opened this issue Feb 15, 2021 · 0 comments

Comments

@e-n-f
Copy link
Contributor

e-n-f commented Feb 15, 2021

(python-venv) ➤ tilesets view-recipe enf.countries-center
{"recipe": {"version": 1, "layers": {"countries": {"minzoom": 0, "maxzoom": 5, "source": "mapbox://tileset-source/enf/countries"}}}, "id": "enf.countries-center"}

The output includes a JSON wrapper containing recipe and id. It would be more useful to strip out this level so that the output was directly suitable as input to tilesets create or tilesets update-recipe instead of having to be edited first.

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

1 participant