Hi to all,

This is extented of the question nominatim-returns-only-if-query-exactly-matched-data.

Nominatim returns result, if all fields(street,city & state) are matched.

But I want to get result(geocode) for city with state when street not avail, and so on. Any solution for this issue?

Because we can't get geocode for most of street level address in OSM :( .

Sample: http://nominatim.openstreetmap.org/search?format=json&street=vengateswara%20street&city=chennai&state=tamilnadu

asked 29 Jan '16, 06:16

Rajavelu_M's gravatar image

Rajavelu_M
253444858
accept rate: 33%

edited 05 Feb '16, 10:10

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548

1

I have problems understanding your question. At your "sample" there is no result returned. What do you expect and why? Is "Vengateswara Street" existing in the osm data?

(05 Feb '16, 10:11) aseerel4c26 ♦

Running an instance of https://github.com/komoot/photon (note there interactive demo currently seems to have issues, but the demo api works). Photon does a fuzzy search on Nominatim generated OSM data and in general gives good results.

permanent link

answered 05 Feb '16, 15:27

SimonPoole's gravatar image

SimonPoole ♦
38.2k13284608
accept rate: 19%

Your answer
toggle preview

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:

×549
×193
×164
×114

question asked: 29 Jan '16, 06:16

question was seen: 2,192 times

last updated: 05 Feb '16, 15:27

powered by OSQA