Skip to main content

gis-utils

Convenience functions for working with geospatial data in python. The python geospatial stack (fiona, shapely, rasterio, pyproj, rtree, and others) combined with numpy and pandas provides enormous power and flexibility for geospatial analysis. However, common geoprocessing tasks often require several lines of boiler-plate code that can be tedious, repetitive and difficult to remember. gis-utils aims to distill these operations into simple, robust functions that can be imported into any workflow, to reduce cognitive load and allow effort to be focused on the more important parts of the analysis.

Version 0.3

Tests Coverage Status PyPI version Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Getting Started

Demo of gis-utils

Installation

Python versions:

gis-utils requires Python 3.10 (or higher)

Dependencies:
numpy
scipy
pandas
fiona
gdal
rasterio
rasterstats
shapely
rtree
pyproj

Install python and dependency packages

Download and install the Anaconda python distribution. Open an Anaconda Command Prompt on Windows or a terminal window on OSX. From the root folder for the package (that contains requirements.yml), install the above packages from requirements.yml.

conda env create -f requirements.yml

activate the environment:

conda activate gisutils

Install to site_packages folder

python setup.py install

Install the source code in-place

(for development or git users that want to easily pull the most recent code)

  • don't forget the '.'!
pip install -e .

Bugs

If you think you have discovered a bug in gis-utils in which you feel that the program does not work as intended, then we ask you to submit a Github issue.

Disclaimer

This software is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The software has not received final approval by the U.S. Geological Survey (USGS). No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. The software is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the software.

Release files for gis-utils 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gis-utils 0.3.6
File Size Uploaded
gis_utils-0.3.6.tar.gz 54.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gis-utils 0.3.6
File Interpreter ABI Platform
gis_utils-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size:86.2 kB

Release files / gis_utils-0.3.6.tar.gz

Download URL gis_utils-0.3.6.tar.gz
Size 54.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1d3ffc7e388f1f72b518fc1eb4c54f11122e1884686225dc2ba9e98f680f1a91
BLAKE2b-256 checksum
How to use checksums
c220915b5f6cbfb9b36592b794b8eb8a45839b28ed1e4e245ba2db18ba67c4f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / gis_utils-0.3.6-py3-none-any.whl

Download URL gis_utils-0.3.6-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c11e30f89bc55ef9054f722fe5a261f9961b2461d8fd9f9ae972f92e9994bb91
BLAKE2b-256 checksum
How to use checksums
9108273413e867e88e288fbf88776477db4ce9ffeae6f743a0b89937fc8412ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page