Skip to main content

PyGeoprocessing: Geoprocessing routines for GIS

Project description

About PyGeoprocessing

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 (D8inf/MFD 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-1.3.0.tar.gz (475.7 kB view details)

Uploaded Source

Built Distributions

pygeoprocessing-1.3.0-cp36-cp36m-win_amd64.whl (291.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

pygeoprocessing-1.3.0-cp27-cp27m-win32.whl (268.4 kB view details)

Uploaded CPython 2.7m Windows x86

File details

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

File metadata

  • Download URL: pygeoprocessing-1.3.0.tar.gz
  • Upload date:
  • Size: 475.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for pygeoprocessing-1.3.0.tar.gz
Algorithm Hash digest
SHA256 488e0cf091ab87e89669d82033a3aee870474fada0e328c6712ea925cd7f9125
MD5 7201005966789ca40cf4126de3a5b3a5
BLAKE2b-256 70aa0df805075741b2e7a45d3a71d585b1d54e5fddf0365838c536354170a41a

See more details on using hashes here.

File details

Details for the file pygeoprocessing-1.3.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pygeoprocessing-1.3.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 291.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for pygeoprocessing-1.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 1b1ff41b201170d1c5b5de9f61ccc3853fffa5c6c9c893f2a57975ee582984df
MD5 b5a49d6deec51970564cddf48af7493e
BLAKE2b-256 e4da3b1e12a3dd3a0ea273dd3576652764cac733d2eaf45baf6df7dd43012e52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygeoprocessing-1.3.0-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 268.4 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for pygeoprocessing-1.3.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d350019e3df60a43ea0f95e8af4a0bb4d2fe3ccdb71b75f87b2dedf69df823a2
MD5 27ce9ad24c7f7c8dae8d7f7e7cc06ebe
BLAKE2b-256 dca40b4b73d0965e2de7a33c16a3ac9a65df83e01a8db4b03aa2c5a86d7abf13

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