Build object-centric remote sensing computer vision datasets
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geographer-1.0.0.tar.gz.
File metadata
- Download URL: geographer-1.0.0.tar.gz
- Upload date:
- Size: 92.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5b860eabb3ede9e78cd4275a76594211ca4c3e173c5216c7f48c97a9f52c9d0
|
|
| MD5 |
2cd6209194d3689f6a0e9c0e7c3244c2
|
|
| BLAKE2b-256 |
9b7bfea56293aee8345246cb0708d8fc327771056a996f2ae27ee80e45230c0e
|
File details
Details for the file geographer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: geographer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 116.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b97382450a630407aa8d2623e36a0b04222b5bc88e51ed32306b949f3ecaaa4
|
|
| MD5 |
96c824588b3b0f2e5ee6dc6b84a22e48
|
|
| BLAKE2b-256 |
6b845a34b9c98e0648c4417b401204009d04fe7474e65af8f047bb17f106bb44
|