8000 GitHub - jantomec/fabdem: Download FABDEM data: a DEM with forests and buildings removed using ML.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Download FABDEM data: a DEM with forests and buildings removed using ML.

License

Notifications You must be signed in to change notification settings

jantomec/fabdem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FABDEM

Download FABDEM data: a DEM with forests and buildings removed using ML.

FABDEM homepage: https://data.bris.ac.uk/data/dataset/s5hqmjcdj8yo2ibzi9b4ew3sn

Installation

To install the package using pip

pip install fabdem

Usage

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.

Development

  1. Clone this repository
git clone https://github.com/jantomec/fabdem.git
  1. 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.

  1. 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.

  1. Run this command to upload the code to PyPI:
flit publish

TODO:

  • Create a conda package.
  • Download only part of a zip.

Resources:

About

Download FABDEM data: a DEM with forests and buildings removed using ML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0