Download FABDEM data: a DEM with forests and buildings removed using ML.
FABDEM homepage: https://data.bris.ac.uk/data/dataset/s5hqmjcdj8yo2ibzi9b4ew3sn
To install the package using pip
pip install fabdem
Define coordinates bounding the area of interest:
bounds = (1, 30, 5, 35)
Call the download function to create a raster:
import fabdem
fabdem.download(bounds, output_path="dem.tif")
Supports any raster format supported by GDAL.
- Clone this repository
git clone https://github.com/jantomec/fabdem.git
- Create a new conda environment
conda create --file fabdem.yml
or alternatively update the existing one
conda env update --file fabdem.yml [--prune]
NOTE: The
--prune
option causes conda to remove any dependencies that are no longer required from the environment.
- To install the package locally for development, run:
flit install --symlink
The --symlink
option tells flit to create a symbolic link to your package directory inside the site-packages directory of your environment instead of copying files. This is useful for development, as changes in your package directory immediately affect the installed package without needing reinstallation.
- Run this command to upload the code to PyPI:
flit publish
- Create a conda package.
- Download only part of a zip.