From a89b5fc38da2f4d836da54cacc60441b23e28c42 Mon Sep 17 00:00:00 2001 From: UKChris-osm <59393694+UKChris-osm@users.noreply.github.com> Date: Wed, 1 Jan 2025 13:11:30 +0000 Subject: [PATCH] Add "Cook" name and preserveTag Add "Cook" name and preserveTag. State that "Loading index files" might take longer than 30 seconds. --- data/brands/shop/frozen_food.json | 2 ++ dist/featureCollection.json | 12 ++++++------ scripts/build_index.js | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/data/brands/shop/frozen_food.json b/data/brands/shop/frozen_food.json index 54bc14bea5b..d7de84c3d12 100644 --- a/data/brands/shop/frozen_food.json +++ b/data/brands/shop/frozen_food.json @@ -15,9 +15,11 @@ "id": "cook-d47c9b", "locationSet": {"include": ["gb", "gg"]}, "matchTags": ["shop/convenience"], + "preserveTags": ["^name"], "tags": { "brand": "Cook", "brand:wikidata": "Q113457474", + "name": "Cook", "shop": "frozen_food" } }, diff --git a/dist/featureCollection.json b/dist/featureCollection.json index 95bfa1ac1bb..a7eef97dc08 100644 --- a/dist/featureCollection.json +++ b/dist/featureCollection.json @@ -1,9 +1,9 @@ { "_meta": { "version": "6.0.20241229", - "generated": "2024-12-29T05:25:31.556Z", + "generated": "2025-01-01T13:07:24.879Z", "url": "https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/featureCollection.json", - "hash": "69e5ef6b734d2d5c422d20a9cc84dc18" + "hash": "901b681aa20e40ee5d88ff305d99e41b" }, "type": "FeatureCollection", "features": [ @@ -731,15 +731,15 @@ [8.61312, 50.67799], [8.67648, 50.6956], [8.73536, 50.6833], - [8.83728, 50.70336], - [8.92193, 50.70636], + [8.83728, 50.67562], + [8.98815, 50.67562], [9.14199, 50.62712], [9.28448, 50.63705], [9.43265, 50.77051], [9.53576, 50.74178], [9.67861, 50.73004], - [9.73526, 50.74862], - [9.87396, 50.73081], + [9.73526, 50.65111], + [10.0143, 50.65111], [10.57243, 50.33468], [10.9362, 50.39189], [11.13835, 50.35396], diff --git a/scripts/build_index.js b/scripts/build_index.js index 43ee72d0930..809a5eea625 100644 --- a/scripts/build_index.js +++ b/scripts/build_index.js @@ -285,7 +285,7 @@ function filterCollected() { // Load the index files under `data/*` // function loadIndex() { - const START = '🏗 ' + chalk.yellow(`Loading index files (this might take around 30 seconds) ...`); + const START = '🏗 ' + chalk.yellow(`Loading index files (this might take over 30 seconds) ...`); const END = '👍 ' + chalk.green(`done loading`); console.log(''); console.log(START);