Is it possible to geocode the location of a street intersection using Nominatim?

Example geocode query

Commonwealth Ave at Washington Street, Boston, MA

Successful Geocode by Google


Failed Geocode by Nominatim

  • What version are you using? – R.K. Sep 24 '12 at 10:41
  • 1
    It's not yet implemented in version 2 of nominatim. Think it's going to be reviewed for next version. – leandronn Jun 23 '14 at 17:46

It should be able to. The wiki page for Nominatim v2 says so:

  • Multilingual support for nearest / in / im (possible list of words in wiki (Name_finder:Translations) (in progress) - Searching for street intersections
  • Provide option to use postgresql full text search module as alternative indexing method
  • Better formatting of address output (address format def on wiki? crowdsource?)
  • Indexing support for autocomplete text entry (prefix search)
  • 1
    How should I send the query to Nominatim? I tried Street A at Street B but that does not work. – Nyxynyx Sep 24 '12 at 14:12
  • Haven't tried it yet but could you try Street A corner Street B? – R.K. Sep 28 '12 at 2:54
  • Just tried, it does not work http://nominatim.openstreetmap.org/search.php?q=Commonwealth+Ave+corner+Washington+Street%2C+Boston%2C+MA&viewbox=-337.5%2C85.34%2C337.5%2C-80.5 – Nyxynyx Sep 28 '12 at 2:56
  • 1
    The Wiki has it as a (TODO) item. I don't think this has been implemented yet, and there is also no mention of it on the MapQuest API which uses Nominatim. – spg Mar 10 '14 at 17:25

What worked for me is to use geopy (python library). This library can use both google maps and nominatim geolocators. You can query both geolocators and compare them. If nominatim fails at junctions, you can pick Google for those entries. Based on my experience Google Maps API is somewhat more forgiving on incomplete or more complex queries.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.