如何获取wifi热点的位置? [英] how to get wifi hotspot's location?

查看:21
本文介绍了如何获取wifi热点的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个应用程序,它可以记录我们正在访问的 wifi 热点的位置并在地图中显示它们.但问题是 - 我如何获得 wifi 热点的位置?我想我可以使用wifi信号来获取wifi热点的位置,但第一次可能不是很准确.如果没有其他解决方案,我可以在第一次访问wifi热点时记录GPS的位置.

I want to write an application that it can record the wifi hotspot's location we are accessing and display them in map. But the problem is - how do I get wifi hotspot's location? I think I can use the wifi signal to get the wifi hotspot's location, but it may not be very accuracy at first time. And if there is no other solution, I could record the location of GPS when access wifi hotspot at the first time.

推荐答案

您将无法找到热点位置,也无法确定从当前位置到实际热点的方向和距离.

You'll not be able to find the hotspots location and you'll not be able to determine the direction and distance from your current position to the actual hotspot.

热点不报告它们的坐标(我的 wifi 盒子甚至不知道它自己的地理坐标).谷歌在他们的街景任务中捕获了热点,并使用这些结果对 wifi 热点的位置进行三角测量,其他公司也这样做来建立数据库.

The hotspots don't report their coordinates (my wifi box doesn't even know it's own geographical coordinates). Google captured hotspots during their streetview missions and used the results to triangulate the positions of wifi hotspots and other companies did the same to build up databases.

因此,要获取信息,您需要访问知道热点坐标的数据库.

So to get the information, you'll need access to a database that knows the coordinates of hotspots.

这篇关于如何获取wifi热点的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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