This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Overpass API Python save tags

0

Hello everyone, I am new to OSM and pogramming in python i used the module Overpass to Query OSM information from python like the following image:

alt text

And the answer that i get is this one: alt text

I would like to know how i can save the id and the tags from the Query in a file ?

Thank you for all the help Francisco Costa

asked 09 Dec '15, 11:34

FrancisCosta's gravatar image

FrancisCosta
0121213
accept rate: 0%

1

Your question is essentially about parsing JSON with python and thus better suited at http://stackoverflow.com. Except for the fact that you can find tons of examples for parsing JSON with python :)

(09 Dec '15, 12:01) scai ♦

Source code available on GitHub .