Skip to main content

PyGeoprocessing: Geoprocessing routines for GIS

Project description

About PyGeoprocessing

test_coverage_badge

PyGeoprocessing is a Python/Cython based library that provides a set of commonly used raster, vector, and hydrological operations for GIS processing. Similar functionality can be found in ArcGIS/QGIS raster algebra, ArcGIS zonal statistics, and ArcGIS/GRASS/TauDEM hydrological routing routines.

PyGeoprocessing is developed at the Natural Capital Project to create a programmable, open source, and free Python based GIS processing library to support the InVEST toolset. PyGeoprocessing’s design prioritizes computation and memory efficient runtimes, easy installation and cross compatibility with other open source and proprietary software licenses, and a simplified set of orthogonal GIS processing routines that interact with GIS data via filename. Specifically the functionally provided by PyGeoprocessing includes

  • a suite of raster manipulation functions (warp, align, raster calculator, reclassification, distance transform, convolution, and fast iteration)

  • a suite of vector based manipulation function (zonal statistics, rasterization, interpolate points, reprojection, and disjoint polygon sets)

  • a simplified hydrological routing library (d-infinity flow direction, plateau drainage, weighted and unweighted flow accumulation, and weighted and unweighted flow distance)

Installing PyGeoprocessing

$ pip install pygeoprocessing

If you import pygeoprocessing and see a ValueError: numpy.dtype has the wrong size, try recompiling, this is the result of a version compatibility issue with the numpy ABI in the precompiled pygeoprocessing binaries. The solution is to recompile pygeoprocessing on your computer:

$ pip uninstall -y pygeoprocessing
$ pip install pygeoprocessing --no-deps --no-binary :all:

Requirements

Note the pip-installable requirements in requirements.txt are for best results, but older package versions may also work. If necessary, PyGeoprocessing can be installed without dependencies with pip install --no-deps.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygeoprocessing-0.6.0.tar.gz (79.4 kB view details)

Uploaded Source

Built Distribution

pygeoprocessing-0.6.0-cp27-cp27m-win32.whl (348.9 kB view details)

Uploaded CPython 2.7m Windows x86

File details

Details for the file pygeoprocessing-0.6.0.tar.gz.

File metadata

File hashes

Hashes for pygeoprocessing-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c9be8bdf3d3fa4226a7ef694406486572585005a7c8b27cf480a991692fa0383
MD5 f7a02c18bae60c8c43d779db36897624
BLAKE2b-256 bacac046e0a3232e4f77e5e4e6191974bcc190b50eeaa7ae4e156b0524bfb2de

See more details on using hashes here.

File details

Details for the file pygeoprocessing-0.6.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for pygeoprocessing-0.6.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 a3f4d888086fdd70064b5bfec488655a6eed8d28b940317d2df03f5b4f20b2f1
MD5 3a82b1b42da5f55acfca1b31731cdce0
BLAKE2b-256 874f7c378d74877f1ab7c8ee0c5264aa317c02624b2cdfd49f02280ad7db8247

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page