Get subset of building data, not all. #334
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds code for interfacing with Overture for building data, allowing the download of only a subset of data (constrained by a given bounding box), instead of the entire dataset for the country. The downloaded
building.geoparquet
file is significantly smaller as a result.I left the original national downloader in for not, in case it's still useful.
I have not tested this yet, beyond peering inside the geoparaquet file (I run Linux, so can't run the GUI). Please could you confirm?
Some things to note:
us-west-2
is availableversion
parameter, how to auto pick latest, or if that's even possible without hackingFixes #133
Type of change
Key checklist
python -m pytest
)python -m sphinx -b html docs docs/build
)pre-commit run --all-files
)Further checks