views:

228

answers:

2

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.

A: 

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
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
ORS seems not cover Israel. See http://wiki.openstreetmap.org/wiki/Image:ORS_Coverage.png
GilShalit
+3  A: 

Routing

CloudMade offers a Routing HTTP API as part of their Web Maps API. The standard service for non-commercial applications is free.

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.

Christian
I've started to use Nominatim as the geocoder - looking good
GilShalit