Skip to content

Commit

Permalink
Do a little more translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Landauer committed Sep 28, 2017
1 parent b5410a3 commit 11ab0c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.rb
Expand Up @@ -33,7 +33,7 @@ def overpass_query(query)
# }
# # Step through all the tags
# node.search('tag').each do |tag|
# key = tag['k'].tr(':', '_')
# key = tag['k'].tr(':', '_').tr('.', '_')
# value = tag['v']
# record[key] = value
# end
Expand All @@ -49,7 +49,7 @@ def overpass_query(query)
}
# Step through all the tags
way.search('tag').each do |tag|
key = tag['k'].tr(':', '_')
key = tag['k'].tr(':', '_').tr('.', '_')
value = tag['v']
record[key] = value
end
Expand Down

0 comments on commit 11ab0c5

Please sign in to comment.