Feedback for upload-source endpoint
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
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 ./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...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI entry points for `upload-source` and `list-source`, and trace how the tileset ID and source list are handled. Verify the existing-source prompt, `--replace` path, add-source choice, and continue-with-existing-sources choice against the issue text; done means `upload-source` lists existing sources before adding or replacing one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100