how to read NASA .hgt binary files

后端 未结 6 965
你的背包
你的背包 2020-12-07 19:26

I\'m sure this is really simple if you know anything about binary files, but I\'m a newbie on that score.

How would I extract the data from NASA .hgt files? Here is

6条回答
  •  忘掉有多难
    2020-12-07 19:40

    https://gdal.org/drivers/raster/srtmhgt.html

        Input_HGT = 'N30E120.hgt'
        import gdal
        Raster = gdal.Open(Input_HGT) 
    

    All functions available with GDAL on raster files could be applied on this 'Raster' like Functions available with the variable, 'Raster'

提交回复
热议问题