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

Feat upload polygon #237

Merged
merged 14 commits into from
Oct 30, 2024
Merged

Feat upload polygon #237

merged 14 commits into from
Oct 30, 2024

Conversation

danangmassandy
Copy link
Collaborator

This PR fixes #202.

  • Added new POST API to upload shapefile/geojson/gpkg
  • Store the location object for each user
  • Cleanup location after 2 months
  • Added location_name request parameter to the Measurement API
  • Remove POST Method of Measurement API

Copy link

github-actions bot commented Oct 29, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
10929 10405 95% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 37352a0 by action🐍

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 96.71458% with 16 lines in your changes missing coverage. Please review.

Project coverage is 95.13%. Comparing base (d41f1bf) to head (37352a0).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
django_project/gap_api/api_views/location.py 92.52% 8 Missing ⚠️
django_project/gap_api/utils/fiona.py 94.05% 6 Missing ⚠️
django_project/gap/utils/reader.py 75.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #237      +/-   ##
==========================================
+ Coverage   95.03%   95.13%   +0.09%     
==========================================
  Files         186      194       +8     
  Lines       10116    10576     +460     
==========================================
+ Hits         9614    10061     +447     
- Misses        502      515      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danangmassandy danangmassandy marked this pull request as ready for review October 30, 2024 09:00
@danangmassandy danangmassandy merged commit d3cd2de into main Oct 30, 2024
4 checks passed
@danangmassandy danangmassandy deleted the feat-upload-polygon branch October 30, 2024 09:10
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

Successfully merging this pull request may close these issues.

Ingest polygon shp bbox
1 participant