How do I do geocoding and routing with OpenStreetMap? [closed]
Asked Answered
O

2

33

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.

Obellia answered 14/1, 2010 at 9:3 Comment(4)
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!Palmy
Dor, I have attempted to use the Waze API, but it was quite cumbersome.Obellia
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?Palmy
This questions might be a better fit for gis.stackexchange.com.Custard
A
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.

Aristippus answered 18/1, 2010 at 19:7 Comment(6)
I've started to use Nominatim as the geocoder - looking goodObellia
I'm happy with Cloudmades' routing service. Simple api, query response times are okay, all routes have been correct so far.Monahon
It bears mentioning that as of this comment, Cloudmade no longer provides routing for non-enterprise users.Inspissate
@RavenDreamer Thanks. I have removed the CloudMade bit.Aristippus
Is there any free library/service/api for the given problem? Thank you.Meandrous
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.Molybdic
R
1

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

Romaineromains answered 14/1, 2010 at 9:6 Comment(3)
I don't see how this helps as they do not offer an API, unless I'm missing it.Obellia
ORS could maybe be used as an Routing API. Use wiki.openstreetmap.org/index.php/OpenRouteService#ORS_.22API.22 and download the route description as an XML.Aristippus
ORS seems not cover Israel. See wiki.openstreetmap.org/wiki/Image:ORS_Coverage.pngObellia

© 2022 - 2024 — McMap. All rights reserved.