fix(map): exclude high-resolution rasters from overview
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-21 22:56:39 +02:00
parent 20829f1a24
commit 20ec8ad6b2
4 changed files with 63 additions and 3 deletions
+10 -3
View File
@@ -34,6 +34,7 @@ import {
normalizeBboxFromCorners,
operationalScopeProjectLabel,
parseBboxInput,
persistedDatasetSupportsSelection,
productCoversZones,
readablePropertyName,
resultCountLabel,
@@ -1154,7 +1155,8 @@ export function MapWorkspace({
if (boundedThemes.has(theme.id)) {
return true
}
if (!themeDatasetMap[theme.id]) {
const dataset = themeDatasetMap[theme.id]
if (!dataset || !persistedDatasetSupportsSelection(dataset, mapSelectionBbox)) {
return false
}
const coverageTheme = COVERAGE_THEME_BY_MAP_THEME[theme.id]
@@ -1830,7 +1832,7 @@ export function MapWorkspace({
const availableThemes: Array<MapThemeQuery<DataThemeId>> = []
for (const theme of DATA_THEMES) {
const dataset = themeDatasetMap[theme.id]
if (dataset) {
if (dataset && persistedDatasetSupportsSelection(dataset, bbox)) {
availableThemes.push({
themeId: theme.id,
dataset,
@@ -1865,7 +1867,12 @@ export function MapWorkspace({
setMapAnalysisDurationMs(null)
setSelectionBbox(bbox)
const tasks: Array<Promise<unknown>> = [loadAllThemeResults(bbox, areaId)]
if (activeThemeAvailable && !regionalPartitionedThemeActive && !onDemandThemeActive) {
const activeDatasetSupportsSelection = !activeThemeDataset
|| persistedDatasetSupportsSelection(activeThemeDataset, bbox)
if (
activeThemeAvailable && !regionalPartitionedThemeActive && !onDemandThemeActive
&& activeDatasetSupportsSelection
) {
tasks.push(onRunMapSelectionExtract(bbox, areaId))
}
if (analysisMode === 'evolution' && earlierDatasetId && laterDatasetId) {