Thursday, 20 August 2015

python - Is it possible to open rasters as array in NumPy without using another library?


I know that it is possible to open a raster as an array in NumPy using GDAL, but I want to skip GDAL and use NumPy only, as it is cooler handling rasters with NumPy as matrices. There is a similar question here: but the answer solutions involve using other libraries.


Can you post the code here if you are aware of a NumPy workaround?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...