如何通过IP获取经纬度? [英] How to get latitude and longitude by IP?

查看:425
本文介绍了如何通过IP获取经纬度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net中,如何通过Ip获取纬度和经度?

In asp.net, how to get latitude and longitude by Ip?

推荐答案

您购买了ISP及其lat/long的IP范围数据库.您无法获取用户位置,只能获取他们已连接到的交换机的位置.不知道它将如何与无线配合使用,粒度如何,但是我保证,它不是用户所在的位置.
You buy a database of IP ranges for ISPs and their lat/long. You can''t get the users position, only the position of the exchange they have connected to. Not sure how it would work with wireless, what the granularity would be, but I guarentee, it won''t be the location of the user.


您可以检查该站点 http://ipinfodb.com/ip_location_api.php [ ^ ]
You can check this site http://ipinfodb.com/ip_location_api.php[^]


这篇关于如何通过IP获取经纬度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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