Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 GDAL 读取 geotiff 文件。
我想阅读我的 geotiff 文件的坐标 Z。
以前有没有人处理过一个案子?
看待,
我已经设法从 osgeo import gdal
gdal.UseExceptions() ds = gdal.Open('test_data.tif') band = ds.GetRasterBand(1) elevation = band.ReadAsArray() print elevation.shape print elevation