Why not ask your question on the new OpenStreetMap Community Forum?

I've searched for a bit and can't find answers. Help!! and thanks!

I would like to query Overpass to find the total number of nodes associated with roads within the boundaries of a city - my challenge is to retrieve this number without also pulling the actual data? Another way to state this: I'd like Overpass to give me the number of nodes, but not bog down or result in time-outs, which happens for even small cities. I think this could conserve a lot of bandwidth.

Second question: how could I perform this query together for multiple cities and output as a csv or similar file? Again, without transferring actual data to my browser?

Thank you

asked 17 Mar '16, 14:30

rnodesertgrad's gravatar image

accept rate: 0%

edited 17 Mar '16, 16:00

Have a look at the documentation Overpass_QL#Counting_of_elements ...


permanent link

answered 17 Mar '16, 16:28

stephan75's gravatar image

accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 17 Mar '16, 14:30

question was seen: 3,320 times

last updated: 17 Mar '16, 16:28

powered by OSQA