Skip to content

Reports: Improve vector_utils.create_aggregate_map #2629

Description

@megannissel

We have a function, create_aggregate_map, in vector_utils that generates Altair choropleth map JSON for a vector attribute. This function is currently used by both the SWY and AWY reporter modules, but UMH, UNA, and Urban Cooling each have their own similar functions. It would be nice if the function in vector_utils was flexible enough to suit the needs of all of these reports (and any others doing a similar thing that I may have missed).

The function in vector_utils also ought to accept a list of fields from the same data source and return a single JSON of concatenated plots. This would improve report load times.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions