NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

Rajavelu_M
253454858
accept rate: 33%

reverted 06 Sep '18, 06:28


permanent link

answered 06 Sep '18, 10:37

mtmail's gravatar image

mtmail
4.8k1574
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

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:

×689
×133
×85

question asked: 31 Aug '18, 11:44

question was seen: 3,707 times

last updated: 17 Oct '18, 11:29

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