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

Hi, Check below reverse geocoding url: https://nominatim.openstreetmap.org/reverse?format=json&lat=43.642388&lon=-79.374265

Got data as: Toronto Star, 1, Yonge Street, South Core, Old Toronto, Toronto, Ontario, M5E 1E5, Canada

But can't get the same data in geocode url(got some other data, not the expected one): https://nominatim.openstreetmap.org/search?format=json&limit=5&addressdetails=1&q=1,%20Yonge%20Street

How to get above data in geocode(using query string)?

asked 31 Aug '18, 11:44

Rajavelu_M's gravatar image

accept rate: 33%

reverted 06 Sep '18, 06:28

permanent link

answered 06 Sep '18, 10:37

mtmail's gravatar image

accept rate: 27%

@mtmail: Your reply in above link: "Without the city name the bus stop's ref=1 https://www.openstreetmap.org/node/2215262534 gets treated as a name and direct name matches rank higher (house number matches happen later in the search logic)".

Return this data(as matches rank higher) is fine. But when we give limit as greater than 1, expected lower rank results also. But got only 1 result.

(17 Oct '18, 11:29) Rajavelu_M
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: 31 Aug '18, 11:44

question was seen: 3,418 times

last updated: 17 Oct '18, 11:29

powered by OSQA