Questions tagged [pygeoprocessing]

Python/Cython based library that provides a set of commonly used raster, vector, and hydrological operations for GIS processing.

Filter by
Sorted by
Tagged with
1
vote
0answers
216 views

Weighted flow accumulation with pygeoprocessing

I cannot manage to get results for a weighted flow accumulation with pygeoproccessing. When I try it without the weight, it does work. However, I need the weight and when I include it, python just ...
1
vote
1answer
87 views

Error in rasterizing shapefile by using pygeoprocessing

While using pygeoprocessing rasterize() function to convert the shapefile into raster format I got the following error: 0warning 1: failed to find field wt on layer pointshp, skipping. My script is ...
1
vote
0answers
38 views

value_map dictionary in pygeoprocessing

I am trying to Reclassify raster using pygeoprocessing.geoprocessing.reclassify_raster( base_raster_path_band, value_map, target_raster_path,gdal.GDT_Int16, target_nodata,...
14
votes
2answers
19k views

Extract raster values within shapefile with pygeoprocessing or gdal

I would like to know how to get all the raster values within a polygon using gdal or pygeoprocessing, without reading the entire grid as an array. pygeoprocessing and gdal can do zonal statistics but ...
4
votes
1answer
198 views

pygeoprocessing - raster calculator

I am new in pygeoprocessing and I am trying to do a really simple raster calculation. I would like to calculate element-wise average over several rasters. I first though pygeoprocessing could handle ...
0
votes
1answer
187 views

Problem with Pygeoprocessing since upgrading to version 0.4.4 from version 0.2.2

I need to calculate D-Infinity Flow Direction on my input raster (geotiff). I use pygeoprocessing for this. Since I uninstalled the version that I had (0.2.2) and installed a newer version of the ...