doumo0206 2011-04-27 06:19
浏览 46
已采纳

“基于时间戳的地理定位”是否可行并且在检测位置/城市方面具有准确性?

I know the answer is possible but the accuracy is the main question.Any idea?

  • 写回答

2条回答 默认 最新

  • dongxian4531 2011-04-27 08:17
    关注

    Well the world is divided into about 24 timezones (there's a few odd quirks with 1/2 hr timezones as well) and two hemispheres, where daylight savings are reversed (Summer in the southern hemisphere is Winter in the Northern), so identifying daylight savings, you can effectively divide the world into 48 time segments (not all countries use daylight savings, so it's not perfect, but gives you a rough idea). Of course, you'll need a little bit of javascript to read these settings from the user's PC.

    The world surface is 510,072,000 km2, so by using timestamp based locations, you can narrow a user down to an area of about 10,626,500km2. As a comparison Canada (the second largest country in the world) has an area of 9,984,670km2. Mainland USA is split across 5 timezones (including Alaska), so any American user would be limited to an accuracy of 5 cities across the entire country... you can't tell the difference between New York and Miami, or between San Francisco and Seattle. Using timezones, ou couldn't tell if I was in London, Lisbon or Dakar.

    If that's an accurate enough guess for you, then all well and good. But GeoIP location gives you a far better accuracy, and libraries already exist to use that method... so why not use it?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line