Skip to content

Commit

Permalink
Overpass, fill name tag
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Feb 27, 2024
1 parent 3353b9c commit d9fad95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datasources/sources/overpass.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def map_geometry(feat)
end

def map_tags(feat)
feat['tags']['name'] = feat['tags']['name'] || feat['tags']['alt_name'] || feat['tags']['loc_name'] || feat['tags']['official_name']
feat['tags'].except('timestamp', 'lon', 'lat')
end
end

0 comments on commit d9fad95

Please sign in to comment.