pygis
Author: Qiusheng Wu (https://wetlands.io | wqs@binghamton.edu)
pygis is a collection of Python snippets for geospatial analysis.
- GitHub repo: https://github.com/giswqs/pygis
- Documentation: https://py-pygis.readthedocs.io.
- PyPI: https://pypi.org/project/pygis/
- Binder: https://gishub.org/pygis-cloud
- Free software: MIT license
Features
- Download files from direct URLs or shared files from Google Drive
- Read and write zip files; extract files from zip files
Examples
import pygis
url = "https://github.com/giswqs/lidar/raw/master/examples/lidar-dem.zip"
pygis.download_from_url(url, file_name='data.zip', unzip=False)
gfile_url = 'https://drive.google.com/file/d/1c6v-ep5-klb2J32Nuu1rSyqAc8kEtmdh'
pygis.download_from_gdrive(gfile_url, 'dem.zip')
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.