Quantcast
Channel: Question and Answer » arcpy
Viewing all articles
Browse latest Browse all 767

Read raster at request size through Python

$
0
0

I’m trying to read the raster (tif) file using Python.
What I want is to read the raster at a specific request size rather than its original resolution.

Example: If a raster has a cellsize of 5 x 5, I would want to read the raster at a lower resolution of suppose 50 x 50 which would reduce the total number of cols and rows. Basically read the pyramid of the raster which has the closet number cols to that of the request size.

Is there a way to read the raster at a particular request size specified through the ArcPy module or gdal module?


Viewing all articles
Browse latest Browse all 767

Trending Articles