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

Add endpoint to create additional Entity lists on a project #1799

Merged
merged 11 commits into from
Sep 21, 2024

Conversation

spwoodcock
Copy link
Member

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Related Issue

Related to #1653

Describe this PR

  • Adds an endpoint: /projects/{project_id}/additional-entity
  • The endpoint takes a single GeoJSON file for param geojson.
  • The filename is used as the Entity list name, so ensure the user knows this.
  • The endpoint should be called after task areas are created, but before the /generate-project-files endpoint is called during project creation.
  • It can be called as many times as needed for the number of additional Entity lists required.

Screenshots

image

Review Guide

An example GeoJSON in Kathmandu to test with:
roads.geojson.txt

Checklist before requesting a review

[optional] What gif best describes this PR or how it makes you feel?

@spwoodcock
Copy link
Member Author

Merging this early to get it to staging for testing ASAP

@spwoodcock spwoodcock merged commit f6efdd6 into development Sep 21, 2024
9 checks passed
@spwoodcock spwoodcock deleted the feat/entity-creation-endpoint branch September 21, 2024 23:20
@Sujanadh
Copy link
Contributor

wow loved this PR, so many changes with proper structuring πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code enhancement New feature or request frontend Related to frontend code tests Related to automated code tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants