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.
Metadata
Release files for mind-t-gap 1.0.2
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 |
|---|---|---|---|---|
| mind_t_gap-1.0.2.tar.gz | 13.7 kB | Without provenance | Details for mind_t_gap-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mind_t_gap-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for mind_t_gap-1.0.2-py3-none-any.whl |
Total release size: 28.5 kB
Release files / mind_t_gap-1.0.2.tar.gz
| Download URL | mind_t_gap-1.0.2.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79edf2cb19c46de05ddfe9bdf6fe688ade200e7e5c55cc9945c04f1d34df0da5
|
|
BLAKE2b-256 checksum How to use checksums |
047cfb9847fa57eae382564ad82ab6ad4fd6dad0f1371c85d1c3f421cca05b23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.16 Linux/5.15.0-151-generic
|
Release files / mind_t_gap-1.0.2-py3-none-any.whl
| Download URL | mind_t_gap-1.0.2-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
311d0ea87b9991bd7c16ac380a78bf664fe241df2c32a759d4b6bd28fb0c671d
|
|
BLAKE2b-256 checksum How to use checksums |
df80eb832371d524fda182153cdbf96bdc20ca87e13a39529e55b2bc5db2f3b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.16 Linux/5.15.0-151-generic
|
Security for mind-t-gap 1.0.2
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.