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 was developed at the Natural Capital Project to create a programmable, open source, and free GIS processing library to support the ecosystem service software InVEST. 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

  • programmable raster algebra routine (vectorize_datasets)

  • routines for simplified raster creation and statistics

  • integration with vector based geometry in many of the routines

  • a simplified hydrological routing library including,
    • d-infinity flow direction

    • support for plateau drainage

    • weighted and unweighted flow accumulation

    • and weighted and unweighted flow distance

Dependencies include

  • cython>=0.20.2

  • numpy>=1.8.2

  • scipy>=0.13.3

  • shapely>=1.3.3

  • gdal>=1.10.1

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:

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.4.0a2.tar.gz (527.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygeoprocessing-0.4.0a2-cp27-cp27m-win32.whl (831.5 kB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file pygeoprocessing-0.4.0a2.tar.gz.

File metadata

File hashes

Hashes for pygeoprocessing-0.4.0a2.tar.gz
Algorithm Hash digest
SHA256 16b4b55c9db857b40ddb9b453d9cd7ef50d38fa3f1c073d06af88959cc69e6d6
MD5 1d0abf57dfb481eec5a89220e57e8045
BLAKE2b-256 a471bb5ccc34a07749a86a37d02c1f0bb018ec5e22dbe955fae590dd0334fd97

See more details on using hashes here.

File details

Details for the file pygeoprocessing-0.4.0a2-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for pygeoprocessing-0.4.0a2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 f3740c57e3748754d0ba90c7c95cfe1b459ded887512fd0d81ee90e3c45ad647
MD5 a9e0b1268ed7348f30d008bc778f63c1
BLAKE2b-256 0fa2b4f9d842f5a9a00147f9e86e96d12329e749a8de3c22d6981fe448daea24

See more details on using hashes here.

Supported by

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