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

Ingest polygon shp bbox #202

Open
mvmaltitz opened this issue Oct 18, 2024 · 1 comment
Open

Ingest polygon shp bbox #202

mvmaltitz opened this issue Oct 18, 2024 · 1 comment
Assignees

Comments

@mvmaltitz
Copy link
Contributor

mvmaltitz commented Oct 18, 2024

Can we also enhance the BBox to ingest a shape file polygon? It is not urgent, but it would be a valuable feature to include.

@danangmassandy
Copy link
Collaborator

danangmassandy commented Oct 18, 2024

From discussion in the email:

User needs to call a separate API to upload the shapefile, then use the upload/location ID in the API.
The benefit with this approach are:

  • Upload once, and can be used in many API calls, this reduces the request size
  • Removing the current POST method that only supports uploading GeoJSON in the request body
  • We can easily add other supported file formats in the Upload API

GAP will delete the uploaded polygon periodically (like in 2-3 months) to ensure the upload API does not fill up the server storage.
The upload API may send the expiry_date in the response so the user knows about it.

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