在纬度较长的位置查找最近的街道

编程入门 行业动态 更新时间:2024-10-28 13:18:18
本文介绍了在纬度较长的位置查找最近的街道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在给定位置(以latlong表示)的位置上是否存在此类API,我可以找到给定的点是否在道路/街道上.如果可能的话,还可以给我最近的街道/道路.我从[查找附近的街道]-> www找到了API. geonames/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] -> www.geonames/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来实现以下目的: developers.google/maps/documentation/geocoding/intro

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

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

Take a look at the "Reverse Geocoding" section.

更多推荐

在纬度较长的位置查找最近的街道

本文发布于:2023-10-30 08:55:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1542376.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:纬度   较长   街道   位置

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!