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.3.0.tar.gz (493.8 kB view details)

Uploaded Source

Built Distribution

pygeoprocessing-0.3.0-cp27-cp27m-win32.whl (738.6 kB view details)

Uploaded CPython 2.7m Windows x86

File details

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

File metadata

File hashes

Hashes for pygeoprocessing-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4ffb89b7ffb433d87da8fd005a604829c05bf17fb418e06a8303d0ccb7de1e08
MD5 830ac397ad8536c4d8545a4625e6c76f
BLAKE2b-256 f9b81efc8c2496a24da57c80db3aadd79765f413a294338db796007fa7544fa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygeoprocessing-0.3.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 ac3beb6b8643c7e7f3f7c1c1af4a0c5230c49031256a4fbce642d7a36f710dfb
MD5 745beb72b2679125db75d49da1c69f42
BLAKE2b-256 a2f491d6930a6d8c05360f81c91b37b6b7fa851f31523bf5b1ad517f0e6cc64e

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