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

Is there an API for OpenStreetMap that I can get a residential street name when passing city, state to it?

asked 02 Jan '19, 04:15

Xavier%20hammond's gravatar image

Xavier hammond
accept rate: 0%

edited 03 Jan '19, 20:03

aseerel4c26's gravatar image

aseerel4c26 ♦

There are lots of different things that have built within the OSM ecosystem, so I can't rule out the possibility entirely, but it seems unlikely that there are any existing tools that have been designed to return a random street. You'd probably have to come up with your own custom-built solution. One way to do this would be to get the boundary of the city, select a random set of coordinates within that area, and then query a reverse geocoder to get a street near those coordinates.

permanent link

answered 02 Jan '19, 19:56

alester's gravatar image

accept rate: 28%

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: 02 Jan '19, 04:15

question was seen: 2,147 times

last updated: 03 Jan '19, 20:03

powered by OSQA