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

Feedback for upload-source endpoint #99

Open
shabnomnom opened this issue Aug 11, 2020 · 0 comments
Open

Feedback for upload-source endpoint #99

shabnomnom opened this issue Aug 11, 2020 · 0 comments

Comments

@shabnomnom
Copy link

It would be helpful to have the upload-source endpoint, automatically call the list-source endpoint to list all the already existing sources for the tileset ID before moving to add or replace the source. That way users can compare source sizes and avoid duplicating a source that already exists in their tileset. So it will be something like:

tilesets upload-source <username> <id> ./file.geojson
“The following source exists in tileset if you want to replace your source use --replace flag. If you want to add an additional source enter, "Yes". Enter "No" to continue with the existing sources”
List of the sources here...

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

No branches or pull requests

1 participant