知识库

GIS开发基础知识:hgt文件格式编号规律和相关计算公式

2025-01-01 09:45:14 李腾 1 次阅读

文件编号

以左下角(180°W, 90°S)为原点开始编号,向东为x轴,向北为y轴。

相关公式

lon(degree) = x / (2 ** zoom) * 360 – 180

mercatorLat(degree) = y / (2 ** zoom) * 360 – 180

lat(degree) = (2 * Math.atan(Math.exp(mercatorLat * PI / 180)) - Math.PI / 2) * 180 / PI

评论 (0)

登录后发表评论

暂无评论,快来发表第一条评论吧!