fix(geoportal): building labels C1/C2 — simpler expression + minzoom 16
Previous index-of expression wasn't rendering. Simplified to use filter with index-of on dash + slice from dash position. Also lowered minzoom from 17 to 16. Added diagnostic log in enrichment for building cross-ref count to debug HAS_BUILDING=0 cases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -298,6 +298,10 @@ export async function enrichFeatures(
|
||||
if (baseRef) add(baseRef);
|
||||
}
|
||||
|
||||
console.log(
|
||||
`[enrich] siruta=${siruta}: ${terenuri.length} terenuri, ${cladiri.length} cladiri in DB, ${buildingMap.size} chei in buildingMap`,
|
||||
);
|
||||
|
||||
// ── Fetch immovable list from eTerra ──
|
||||
push({ phase: "Descărcare listă imobile", downloaded: 0 });
|
||||
const immovableListById = new Map<string, any>();
|
||||
|
||||
Reference in New Issue
Block a user