Skip to content

Commit

Permalink
Fix id
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Nov 14, 2024
1 parent e0ebbd3 commit f5f8d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetcher/fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit f5f8d4e

Please sign in to comment.