PyGeoOps provides some less common or extended spatial algorithms and utility functions.
Project description
PyGeoOps
PyGeoOps provides some less common or extended spatial algorithms and utility functions.
Usage
Calculate a centerline for a polygon:
import pygeoops
import shapely
polygon = shapely.from_wkt("POLYGON ((0 0, 0 8, -2 10, 4 10, 2 8, 2 2, 10 2, 10 0, 0 0))")
centerline = pygeoops.centerline(polygon)
Installation
PyGeoOps is available on PyPi, so can be installed using pip:
pip install pygeoops
Another option is to use conda or mamba, as it is also available on conda-forge:
conda install pygeoops --channel conda-forge
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
pygeoops-0.1.0a1.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for pygeoops-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1592aa53a1ea708d32f18c90b3d96bdb9afbc21b45527537c85a6a0b78d60ac2 |
|
MD5 | 621d72f3079cf9279fcd54be9d5b9565 |
|
BLAKE2b-256 | bdde7fb13e85a237e91ea517e194767fd6b6a09cb1c7fc5b4caa74023ee323ea |