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