Mind the Gap is an algorithm for detecting gaps in building footprints datasets
Project description
Mind the Gap
Mind the Gap is an algorithm for detecting gaps in building footprints datasets, with a preference for finding the rectangular-shaped gaps caused by missing imagery tiles. It works best on country-sized datasets or smaller, or larger datasets divided into smaller chunks.
Getting started
A Dockerfile and requirements are included, and can help you set up a suitable container.
Alternatively, you can use poetry by running:
pip install poetry
and then
poetry install
from the root directory of the repository.
The core of the algorithm is found in mind_the_gap.py, and you can use mind_the_gap function to directly run the algorith. For an easier start, you can use the auto_tune module, which will free you from having to guess and check all the parameters. This will do a decent job of tuning all the paramters, but you may still need to tweak things. The default parameters in the Region.run method work generally well but may need a little tweaking. Region.run_parallel is advantageous for large datasets as it allows for parallel processing.
Inputs
Mind the Gap requires two inputs: building footprints (or just their centroids) and a boundary to the aoi. These are best handled using GeoPandas
Outputs
Gaps will be stored as a GeoDataFrame of the Region object once Region.run has ran.
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 mind_t_gap-1.0.2.tar.gz.
File metadata
- Download URL: mind_t_gap-1.0.2.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/5.15.0-151-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79edf2cb19c46de05ddfe9bdf6fe688ade200e7e5c55cc9945c04f1d34df0da5
|
|
| MD5 |
5249c31591268421601698beb27bc2b9
|
|
| BLAKE2b-256 |
047cfb9847fa57eae382564ad82ab6ad4fd6dad0f1371c85d1c3f421cca05b23
|
File details
Details for the file mind_t_gap-1.0.2-py3-none-any.whl.
File metadata
- Download URL: mind_t_gap-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/5.15.0-151-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
311d0ea87b9991bd7c16ac380a78bf664fe241df2c32a759d4b6bd28fb0c671d
|
|
| MD5 |
b243182b287d2518ea57c6499b03d83b
|
|
| BLAKE2b-256 |
df80eb832371d524fda182153cdbf96bdc20ca87e13a39529e55b2bc5db2f3b9
|