fix(map): keep municipality analysis local
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-19 18:11:39 +02:00
parent e2c90da11d
commit 1f5a2f0ea7
5 changed files with 22 additions and 6 deletions
+1 -4
View File
@@ -29,6 +29,7 @@ import {
getFeatureBBox,
getFeatureCollectionBBox,
getFeatureGeometrySummary,
isMunicipalityAreaName,
isSelectionBoundedDataset,
normalizeBboxFromCorners,
operationalScopeProjectLabel,
@@ -394,10 +395,6 @@ function datasetMatchesTheme(dataset: DatasetCreateResponse, theme: DataTheme):
return theme.tokens.some((token) => searchText.includes(token))
}
function isMunicipalityAreaName(name: string | null | undefined): boolean {
return /^Gemeente\s/i.test(name ?? '')
}
function isPartitionedRaster(dataset: DatasetCreateResponse | null | undefined): boolean {
return Boolean(
dataset?.dataset_type === 'raster'