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

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
253454858
accept rate: 33%

edited 05 Feb '16, 10:10

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

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 ♦
44.7k13324701
accept rate: 18%

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:

×689
×230
×192
×146

question asked: 29 Jan '16, 06:16

question was seen: 4,016 times

last updated: 05 Feb '16, 15:27

powered by OSQA