Skip to content

Conversation

@annehaley
Copy link
Collaborator

@annehaley annehaley commented Oct 22, 2025

Resolves #187

This PR makes the following improvements to analytics tasks:

  • Allow tasks to be disabled for certain deployments using feature flags that can be set via environment variable (e.g. DJANGO_ENABLE_TASK_FLOOD_SIMULATION=0)
  • Rename the segment_curbs task to tile2net_segmentation to differentiate it from geoai_segmentation
  • Add tags to datasets created by anaytics tasks (which requires the addition of a set_tags function on the dataset model)
  • Reformat creation datetimes included in the metadata of datasets created by analytics tasks
  • Refactor the load_roads management command / project endpoint into a new analytics task
  • Add inputs to the geoai_segmentation task: tile_size, tile_overlap, threshold, smoothing_sigma
  • Only install large task requirements in celery container (not django)

@annehaley annehaley requested a review from zachmullen October 23, 2025 14:44
Copy link
Contributor

@zachmullen zachmullen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than my question about the django settings imports

@annehaley annehaley merged commit f671a3c into master Oct 24, 2025
4 checks passed
@annehaley annehaley deleted the task-improvements branch October 24, 2025 14:33
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.

GeoAI Task Improvements

3 participants