使用 GPS 定位提供最新海平面气压的 Web 服务
是否有任何网络服务使用 GPS 的纬度和经度提供最新的海平面压力?我知道 GPS 提供相同的信息,但我们可以从网络服务获取更准确的值。
谢谢迪普斯
Are there any web services providing latest sea level pressure using latitude and longitude from GPS?I know GPS provides the same, but we can acquire more accurate value from web services.
Thanks
Dheeps
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
谷歌快速搜索返回了“天气 API”的许多结果。
http://www.worldweatheronline.com/marine-weather-api.aspx这个似乎有你正在寻找的东西。尽管我假设您找到的任何天气 API 都会显示表面压力而不是“海平面”。科罗拉多州博尔德的海平面上没有太多大气:)如果您确实想要任何地方的海平面压力,则必须使用标准大气方程来确定给定表面压力的压力。如果您想要进一步的准确性,您必须确定“海平面”的确切含义。目前海面的实际高度?某个恒定的 0 英尺/米高度(这取决于您是否认为地球是完美的球体或许多大地水准面模型之一)。这个问题可能非常简单,也可能非常困难,具体取决于您的实际需要。
A quick google search returned many results for "weather API."
http://www.worldweatheronline.com/marine-weather-api.aspx this one seems to have what you're looking for. Though I assume that any weather API you will find will show surface pressure instead of "sea level." There isn't much atmosphere at sea level in Boulder, CO :) If you really wanted sea level pressure anywhere in the would you would have to use Standard Atmosphere equations to determine what the pressure would be given surface pressure. If you wanted further accuracy you'd have to determine what precisely you mean by "sea level." The actual current height of the surface of the sea? Some constant 0ft/m altitude (which varies depending on if you consider the earth a perfect sphere or one of many geoid models). This problem can be very easy or very difficult depending on what you actually need.