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

Hello, I'm new to using OSM. For a week now I have been looking for a solution to my problem that will surely be trivial for you. I need to run a query that extracts an xml or similar for all elements of a city (nodes, roads, etc.). All the queries I found refer to particular elements and it is not possible to list them all. Thanks in advance for anyone who can help me.

asked 25 Apr '21, 12:31

Lorenzopandolfo's gravatar image

Lorenzopandolfo
16336
accept rate: 0%


If by "all elements of a city" you want all of the data for an area, then there are extract services that will provide this.

If by that you mean you want something that will extract all examples of a particular feature with in a specific area then your best bet is something like Overpass Turbo.

permanent link

answered 25 Apr '21, 15:17

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

ok thank you.

(25 Apr '21, 15:38) Lorenzopandolfo

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:

×535

question asked: 25 Apr '21, 12:31

question was seen: 748 times

last updated: 25 Apr '21, 15:38

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