Prefer persisted sources in map federation
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 02:08:52 +02:00
parent a823342b5b
commit 5f15753247
8 changed files with 96 additions and 21 deletions
@@ -35,6 +35,14 @@ export function productCoversZones(productZones: string[], selectedZones: string
return selectedZones === null || selectedZones.some((zone) => productZones.includes(zone))
}
export function isSelectionBoundedDataset(
sourceMetadata: Record<string, unknown> | null | undefined,
): boolean {
return sourceMetadata?.['geometry_clipped_to_selection'] === true
&& Array.isArray(sourceMetadata?.['bbox_epsg4326'])
&& sourceMetadata['bbox_epsg4326'].length === 4
}
export function operationalScopeProjectLabel(project: ProjectRead): string {
if (project.name === MOL_PROJECT_NAME) {
return 'Mol'