geopoly
Simple "CLI" tool to mark polygons on a global map (with zooming) and then produce masks with said polygons with a given grid.
Install
Install with:
pipx install gpoly
Or with the following for Apple Silicon:
pipx install gpoly --pip-args='--no-binary :all:'
Example grid.JSON
Example python script to make the grid.json:
import numpy as np
import json
# resolution of 2 degree grid
N = 2
lon, lat = np.meshgrid(np.arange(-180, 180+N, N), np.arange(-90, 90+N, N))
lon = lon.tolist()
lat = lat.tolist()
# saving as a json file with the 'lat' and 'lon' keywords
grid = {'lon': lon, 'lat': lat}
with open('grid.json', 'w') as file:
json.dump(grid, file)
Metadata
Release files for gpoly 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gpoly-0.1.4.tar.gz | 45.1 kB | Without provenance | Details for gpoly-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpoly-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for gpoly-0.1.4-py3-none-any.whl |
Total release size: 76.8 kB
Release files / gpoly-0.1.4.tar.gz
| Download URL | gpoly-0.1.4.tar.gz |
|---|---|
| Size | 45.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bc0a74b7721b0d39998ab5dd92c4c9e1cbcff656638301760d003b6525a3ba3
|
|
BLAKE2b-256 checksum How to use checksums |
a612f1ea1dd0a7bb793b882f4a0bc515009c4aa783ebe7da31779265376ecf54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / gpoly-0.1.4-py3-none-any.whl
| Download URL | gpoly-0.1.4-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0de32e8fab0aa515fe33326a8494d39e9ee30a595679b857c6be0739f9be167e
|
|
BLAKE2b-256 checksum How to use checksums |
d79423fc575cd77a1d814bfd9b0f6bf88d162967f3f4ce81119a472c13774e5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for gpoly 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.