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

Street classification for given coordinates using overpass

0

Hey,

I want to find out information about the street I am driving on for given coordinates. For that I would like to use overpass, since I just need fast data access.

This is what I have come up with (so very basic):

http://overpass-turbo.eu/s/UoD

Is this the best way to do this? What are typically "box sizes" for given coordinates you are using? How can I output only ways and no more nodes?

Best wishes

asked 26 May '20, 15:17

NABLA_OPERATOR's gravatar image

NABLA_OPERATOR
11111
accept rate: 0%

"Is this the best way to do this" < If the co-ord is always a part of a way, yes. If not, look at 'around'. As you are only searching for ways you will only return a way.

(26 May '20, 15:43) DaveF

Can you maybe give me an example?

(28 May '20, 08:52) NABLA_OPERATOR

Have a go yourself, first.

(28 May '20, 18:17) DaveF

Source code available on GitHub .