Skip to main content

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
0 votes
0 answers
26 views

How to open/display the attribute table from a GDB with Arcpy to help QC previous notebook code steps before moving on to the next steps in script?

Within ArcGIS Pro 3.1, I've created a Jupyter notebook that automates pulling records from an SDE feature class, then filters those based on a Geocode Score. The records above 80 remain in the ...
LuisVazquez's user avatar
1 vote
0 answers
388 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 ...
Tei's user avatar
  • 11
1 vote
1 answer
151 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 ...
SHASHANK GUPTA's user avatar
1 vote
0 answers
49 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,...
SHASHANK GUPTA's user avatar
15 votes
2 answers
25k 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 ...
egayer's user avatar
  • 193
4 votes
1 answer
267 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 ...
egayer's user avatar
  • 193
0 votes
1 answer
241 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 ...
Renee Cammarere's user avatar