diff --git a/Models/Constants.ts b/Models/Constants.ts index 3f65c84..a6e8fce 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.6.11c"; + public static vNumber = "0.7.0"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/scripts/generateCache.ts b/scripts/generateCache.ts index 2e2bdae..0794552 100644 --- a/scripts/generateCache.ts +++ b/scripts/generateCache.ts @@ -149,6 +149,9 @@ async function postProcess(targetdir: string, r: TileRange, theme: LayoutConfig) break; } } + if(feature["_matching_layer_id"] === undefined){ + console.log("No matching layer found for ", feature.properties.id) + } } const featuresFreshness = geojson.features.map(feature => { return ({ @@ -164,7 +167,7 @@ async function postProcess(targetdir: string, r: TileRange, theme: LayoutConfig) for (const feature of geojson.features) { const layer = layerIndex.get(feature["_matching_layer_id"]) if (layer === undefined) { - console.error("Didn't find a layer for " + feature["_matching_layer_id"]) + // Probably some extra, unneeded data, e.g. a point of a way continue }