From f5f8d4e46d8554248511526f4a76058edc56b667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Thu, 14 Nov 2024 11:59:56 +0100 Subject: [PATCH] Fix id --- fetcher/fetcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetcher/fetcher.rb b/fetcher/fetcher.rb index d02daf2..8a72a51 100644 --- a/fetcher/fetcher.rb +++ b/fetcher/fetcher.rb @@ -93,7 +93,7 @@ def class_ontology(superclass, class_, subclass, ontology, ontology_overwrite, p end def pois(menu, pois_geojson, ontology, ontology_overwrite) - style_merge_id = Set.new(menu.select{ |m| m.dig('category', 'style_merge') }.map{ |m| m['category']['id'] }) + style_merge_id = Set.new(menu.select{ |m| m.dig('category', 'style_merge') }.map{ |m| m['id'] }) missing_classes = Set.new pois_geojson = pois_geojson.select{ |feature|