Convenience functions for working with geospatial data in python.
Project description
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
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.
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
Built Distribution
File details
Details for the file gis_utils-0.3.6.tar.gz
.
File metadata
- Download URL: gis_utils-0.3.6.tar.gz
- Upload date:
- Size: 54.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d3ffc7e388f1f72b518fc1eb4c54f11122e1884686225dc2ba9e98f680f1a91 |
|
MD5 | 847afddae9d6cf3bbb4d10a01dfa4a21 |
|
BLAKE2b-256 | c220915b5f6cbfb9b36592b794b8eb8a45839b28ed1e4e245ba2db18ba67c4f4 |
File details
Details for the file gis_utils-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: gis_utils-0.3.6-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c11e30f89bc55ef9054f722fe5a261f9961b2461d8fd9f9ae972f92e9994bb91 |
|
MD5 | d98baed44797077da0bf9f2c86c46208 |
|
BLAKE2b-256 | 9108273413e867e88e288fbf88776477db4ce9ffeae6f743a0b89937fc8412ec |