NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×202
×147
×78
×54

question asked: 09 Dec '15, 11:34

question was seen: 7,223 times

last updated: 09 Dec '15, 12:01

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum