Skip to content

Add polygonal aggregation layers and aggregation query sections#7

Open
FrankXia wants to merge 2 commits intomasterfrom
polygonal-aggregation
Open

Add polygonal aggregation layers and aggregation query sections#7
FrankXia wants to merge 2 commits intomasterfrom
polygonal-aggregation

Conversation

@FrankXia
Copy link
Contributor

@FrankXia FrankXia commented Feb 6, 2026

  • Add "Polygonal Aggregation Layers" section with toggleable feature layers parsed from polygonalAggInfos linkedFeatureLayerUri entries
  • Add "Polygonal Aggregations" section with Aggregation Type/Field dropdowns and Apply button to query and visualize aggregation results
  • Aggregation query includes all lower-level fields in groupByFieldsForStatistics
  • LinkedFeatureLayerUri lookup traverses up parent levels as fallback
  • Results rendered as a new client-side feature layer with ClassBreaksRenderer
  • Layer toggle uses visibility instead of add/remove for efficiency
  • Remove unused toggleLabels, populateSelectWithLayerFields, findPolyAggLayerIdByUri

- Add "Polygonal Aggregation Layers" section with toggleable feature layers
  parsed from polygonalAggInfos linkedFeatureLayerUri entries
- Add "Polygonal Aggregations" section with Aggregation Type/Field dropdowns
  and Apply button to query and visualize aggregation results
- Aggregation query includes all lower-level fields in groupByFieldsForStatistics
- LinkedFeatureLayerUri lookup traverses up parent levels as fallback
- Results rendered as a new client-side feature layer with ClassBreaksRenderer
- Layer toggle uses visibility instead of add/remove for efficiency
- Remove unused toggleLabels, populateSelectWithLayerFields, findPolyAggLayerIdByUri

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FrankXia FrankXia self-assigned this Feb 6, 2026
When the selected aggregation field (and all parent levels) have no
linkedFeatureLayerUri, the aggregation query still executes and results
are logged to the console, but rendering is skipped gracefully.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant