31

Because Google Maps API is not available in Israel (see here) I want to use OpenStreetMap. I'm confused by all the different ways to do geocoding, i.e. finding lat,long for an address.

I'm also looking for the best way to do routing, i.e. display a route between two locations, using OSM.

I'm looking for JavaScript on the client and .NET on my server.

I'm also looking for a solution that will work with names in Hebrew, but I do not think this is a limitation.

Christian
  • 9,914
  • 6
  • 45
  • 52
GilShalit
  • 6,175
  • 9
  • 47
  • 68
  • 1
    This question is from 3 years ago, and now Google Maps API supports geocoding, however with very rigid API use limits, so using it is still a problem. Is there any new solution for this you may have encountered? Thanks! – Dor Rotman May 06 '13 at 11:14
  • Dor, I have attempted to use the Waze API, but it was quite cumbersome. – GilShalit May 12 '13 at 06:55
  • 2
    Waze API is not an option for these days, as it may be closed if they are bought by Facebook, like they did with face.com. So I understand Nominatim is still the best option even today? – Dor Rotman May 12 '13 at 10:58
  • This questions might be a better fit for gis.stackexchange.com. – Victor Sergienko Dec 06 '15 at 15:09

2 Answers2

30

Routing

MapQuest open offers an Open Directions Service and an Open Guidance Service.

Additional information about Routing in OpenStreetMap can be found in the Routing article on the OSM wiki.

Geocoding

Cloudmade's Web Maps API includes a geocoder. The geocoders currently used on OpenStreetMap's main site are Nominatim and GeoNames. There is now also an open geocoding service by MapQuest.

Christian
  • 9,914
  • 6
  • 45
  • 52
  • 1
    I've started to use Nominatim as the geocoder - looking good – GilShalit Jan 19 '10 at 15:12
  • I'm happy with Cloudmades' routing service. Simple api, query response times are okay, all routes have been correct so far. – Tamm Jan 26 '12 at 11:46
  • 1
    It bears mentioning that as of this comment, Cloudmade no longer provides routing for non-enterprise users. – Raven Dreamer Jul 30 '14 at 21:14
  • @RavenDreamer Thanks. I have removed the CloudMade bit. – Christian Nov 04 '15 at 16:09
  • Is there any free library/service/api for the given problem? Thank you. – haMzox Oct 19 '17 at 06:39
  • I don't think it is permissible to use the MapQuest geocoding results on a non-MapQuest map, at least that's how I read their terms which does not distinguish between the various geocoding APIs they offer. – Pat James Dec 17 '19 at 23:58
1

Look at http://openrouteservice.org/. They did routing using OSM already.

  • I don't see how this helps as they do not offer an API, unless I'm missing it. – GilShalit Jan 14 '10 at 15:17
  • 2
    ORS could maybe be used as an Routing API. Use http://wiki.openstreetmap.org/index.php/OpenRouteService#ORS_.22API.22 and download the route description as an XML. – Christian Jan 18 '10 at 19:12
  • ORS seems not cover Israel. See http://wiki.openstreetmap.org/wiki/Image:ORS_Coverage.png – GilShalit Jan 19 '10 at 15:15