Skip to main content

Library with some less common or extended spatial functions

Project description

PyGeoOps

Actions Status codecov PyPI version Conda version

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)

centerline

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


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.4.0.tar.gz (41.4 kB view hashes)

Uploaded Source

Built Distribution

pygeoops-0.4.0-py3-none-any.whl (29.3 kB view hashes)

Uploaded Python 3

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