在 Google Earth 中绘制考虑到地球曲率的线
我想画一些遵循经度或纬度的线,但它没有考虑地球的曲率。
我该怎么做呢?我正在使用 KML。
I want to draw some lines that would follow either the longitude or latitude, but it doesn't take the globe's curvature in account.
How would I go about doing that? I'm using KML.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 KML 中,如果您希望线路夹在地面上,那么您可以将 'altitudeModeEnum' 设置为 'clampToGround' 并设置为 1(true。就像这样。
In KML if you mean you want the line to clamp to the ground then you would set 'altitudeModeEnum' to 'clampToGround' and testate to 1 (true. Like so.
使用Gdal绘制线条图层,并使用ogr2gor(同站点)将图层转换为kml
Use Gdal to draw the line layer, and ogr2gor (same site) to convert the layer into kml
您应该尝试用许多顶点来打破直线,这样每个顶点都有一个高度。请参阅这里
You should try to break the line up with many vertices, so each one has an altitude. See here