diff --git a/datasources/sources/overpass.rb b/datasources/sources/overpass.rb index ee2c64f..605482d 100644 --- a/datasources/sources/overpass.rb +++ b/datasources/sources/overpass.rb @@ -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