如何使用 OpenStreetMap 进行地理编码和路由? [英] How do I do geocoding and routing with OpenStreetMap?

查看:27
本文介绍了如何使用 OpenStreetMap 进行地理编码和路由?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为 Google Maps API 在以色列不可用(请参阅 here) 我想使用 OpenStreetMap.我对进行地理编码的所有不同方法感到困惑,即查找地址的经纬度.

我也在寻找进行路由的最佳方式,即使用 OSM 显示两个位置之间的路由.

我正在寻找客户端上的 JavaScript 和服务器上的 .NET.

我也在寻找一种适用于希伯来语名称的解决方案,但我认为这不是限制.

解决方案

路由

MapQuest open 提供了一个 开放导航服务开放导航服务.>

有关 OpenStreetMap 中路由的其他信息可以在 OSM wiki 上的路由文章中找到.

地理编码

Cloudmade 的Web Maps API 包含一个地理编码器.OpenStreetMap 的主站点 目前使用的地理编码器是 NominatimGeoNames.现在还有一个 MapQuest 开放的地理编码服务.

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.

解决方案

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.

这篇关于如何使用 OpenStreetMap 进行地理编码和路由?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆