GeoGrapher
GeoGrapher is a Python library for building remote sensing computer vision datasets starting from vector features (e.g. locations or georeferenced bounding boxes or segmentation maks). It connects the features and images by a bipartite graph that keeps track of the containment and intersection relations between them making it suited for object-centric tasks. GeoGrapher also provides highly general and customizable dataset cutting functionality as well as other utility functions.
Installation
This package has two external dependencies:
- Python 3.9 or newer.
- The geopandas and rasterio libraries might depend on GDAL base C libraries.
See https://geopandas.org/en/stable/getting_started/install.html#dependencies
and https://pypi.org/project/rasterio/
for instructions on installing these. On many Linux distros, you can use the
the
gdal-develorlibgdal-devpackages.
The package itself (and its Python dependencies) can be installed with
pip install GeoGrapher
Getting started
Read our our blogpost for an introduction to GeoGrapher, try out the tutorial notebooks in the notebooks directory, or read the documentation.
Development
To create a local dev installation, clone the repo, cd into the repo folder,
and use the commands
python -m venv geographer-env
source geographer-env/bin/activate
make -B venv
to create a virtual environment, activate it, and create an editable local installation of the package and its dependencies.
Use the make format, make lint, make test, and make docs commands to format,
lint, or test the code or to create the documentation locally.
To create the documentation locally, you will need to install the pandoc external dependency following the instructions here https://pandoc.org/installing.html.
Contributing to GeoGrapher
You can contribute by giving feedback, opening an issue, submitting feature requests or bug reports, or submitting pull requests.
Show your support
Give this project a star if you like it!
Contact
Contact the maintainer at @rustamdantia.
License
This project is licensed under a version of the Hippocratic License that in particular prohibits use for military activites. You can find a copy of the license here.
Metadata
Release files for geographer 1.0.0
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 |
|---|---|---|---|---|
| geographer-1.0.0.tar.gz | 92.5 kB | Without provenance | Details for geographer-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geographer-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for geographer-1.0.0-py3-none-any.whl |
Total release size: 208.8 kB
Release files / geographer-1.0.0.tar.gz
| Download URL | geographer-1.0.0.tar.gz |
|---|---|
| Size | 92.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5b860eabb3ede9e78cd4275a76594211ca4c3e173c5216c7f48c97a9f52c9d0
|
|
BLAKE2b-256 checksum How to use checksums |
9b7bfea56293aee8345246cb0708d8fc327771056a996f2ae27ee80e45230c0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / geographer-1.0.0-py3-none-any.whl
| Download URL | geographer-1.0.0-py3-none-any.whl |
|---|---|
| Size | 116.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b97382450a630407aa8d2623e36a0b04222b5bc88e51ed32306b949f3ecaaa4
|
|
BLAKE2b-256 checksum How to use checksums |
6b845a34b9c98e0648c4417b401204009d04fe7474e65af8f047bb17f106bb44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for geographer 1.0.0
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.