解释 SRTM N34W119.hgt 文件
我正在尝试解释 USGS 网站上的数据 http://dds.cr .usgs.gov/srtm/version2_1/SRTM3/North_America/
根据我目前的理解,文件 N34W119.hgt 代表一度纬度(34 到35)和一度经度(-119 到 -118),这是洛杉矶(北美)。因此,该文件的前 2 个字节表示纬度 (34' 0' 0") 和经度 (-119' 0' 0") 处的高度。文件中的值为 (0x01ce) 或 462 米。但这与 Earthtools Web 服务 http://www.earthtools.org/ 上的值不匹配height/34/-119 或访问 daftlogic 网站 http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm 给出的海拔高度分别为 -9999 米和 ~ -18.287 米。
这肯定告诉我我没有正确解释事物。任何人都可以阐明这个问题吗?
I am trying to interpret the data at the USGS site http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/North_America/
With my current understanding, the file N34W119.hgt represents one degree latitude (34 to 35) and one degree longitude(-119 to -118), this is Los Angeles (North America). So the first 2 bytes of this file represents altitude at (34' 0' 0") latitude and (-119' 0' 0") longitude. The value in file is (0x01ce) or 462 meters. But that doesn't match the value at the earthtools webservice http://www.earthtools.org/height/34/-119 or at daftlogic website http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm which gives the altitude there as -9999 meters and ~ -18.287 meters respectively.
This surely tells me I am not interpreting things correctly. Can anyone throw some light on this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
回答我自己的问题。
文件 N34W119.hgt 表示地球表面的一纬度乘一经度。这里的点 (34, -119) 表示这一度乘一度空间上的左下(西南)点。
该文件从左到右、从上到下存储数据。因此,这里文件中的前两个字节表示点 (35, -119) 的高度(以米为单位),文件中的最后两个字节表示 (34, -118)
Answering my own question.
The file N34W119.hgt represents one degree latitude by one degree longitude of earths surface. The point (34, -119) here represents the bottom left (South-West) point on this one degree by one degree space.
The file stores data starting from left to right and top to bottom. So here the first two bytes in the file represent the height in meters of point (35, -119) and the last two bytes in this file represent (34, -118)