Check point in polygon for Python
Project description
PointInPolygon
Install
pip install PointInPolygon
or
pip install --upgrade PointInPolygon
Usage
- Import package
import PointInPolygon as pnp
- Geometry to Array (skip steps to simplify the data and reduce the size of array)
pnp.Geo2Array(geo, skip=0)
- Check point in polygon (list or 2D tuple)
pnp.PointInPolygon(point, polygon)
- Get min value from array based on index
pnp.minValue(array, index)
- Get max value from array based on index
pnp.maxValue(array, index)
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
PointInPolygon-1.0.1.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for PointInPolygon-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1dd177d8493ccb5ef7dfcf755b920850d48bc395811a3253ae523fb2e9f6f7c |
|
MD5 | ae7374004ebc97e3937c12cea1941c20 |
|
BLAKE2b-256 | f889895cb428cb81fb493438bbbc4f7d38e54b723a9c864f73d0ace5a5692432 |