在纬度较长的位置查找最近的街道 [英] Finding nearest street given a lat-long location

查看:106
本文介绍了在纬度较长的位置查找最近的街道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在给定位置(以latlong表示)的位置上是否存在此类API,我可以找到给定的点是否在道路/街道上.如果可能的话,还可以给我最近的街道/道路.我从[查找附近的街道]-> http://www找到了API. geonames.org/maps/us-reverse-geocoder.html#findNearbyStreets ,但它只是为美国提供了解决方案. 如果您知道任何更好的解决方案/算法,请帮助我. (我对印度特别感兴趣.)

Is there any such API where given a location (in terms of latlong), I could find whether the given point is on road/street or not. And if possible also gives me nearest street/road to that location. I found API from [Find nearby Streets] -> http://www.geonames.org/maps/us-reverse-geocoder.html#findNearbyStreets , but it just gives solution for US. Help me if u know of any better solution/algorithm. ( I am particularly interested in India.)

推荐答案

您可以使用Google Maps地理编码API来实现以下目的:

You can use the Google Maps Geocoding API which does exactly that: https://developers.google.com/maps/documentation/geocoding/intro

看看反向地理编码"部分.

Take a look at the "Reverse Geocoding" section.

这篇关于在纬度较长的位置查找最近的街道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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