amosproj/amos2024ss04-building-information-enhancer

Pre-calculate and store polygon areas for faster API responses

Closed this issue · 0 comments

Description

This feature aims to improve API response times by pre-calculating and storing the area of each polygon during the data insertion process. By having the area available in square meters, the API can quickly retrieve this information without recalculating, thus speeding up response times for client requests that require area data.

Acceptance criteria

  • Modify the data insertion process to calculate the area of each polygon in square meters and store this value in the database.
  • Ensure that the area calculation is accurate and uses the correct geographic projections to provide reliable data.
  • Update the API to fetch the pre-calculated area from the database instead of recalculating it during each request.

Definition of done (DoD)

  • Component tests have been written and pass
  • All CI tests passed for the pull request
  • Code review has been completed and code has been merged into sprint-release branch
  • All feature branches have been merged and closed
  • New feature code has been documented

DoD general criteria

  • Feature has been fully implemented
  • Feature has been merged into the mainline
  • All acceptance criteria were met
  • Product owner approved features
  • All tests are passing
  • Developers agreed to release