Python snippets for geospatial analysis
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
binder
docs
examples
pygis
tests
.editorconfig
.gitignore
.travis.yml
AUTHORS.rst
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.rst
requirements.txt
requirements_dev.txt
setup.cfg
setup.py
tox.ini

README.rst

pygis

Documentation Status

Author: Qiusheng Wu (https://wetlands.io | wqs@binghamton.edu)

pygis is a collection of Python snippets for geospatial analysis.

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.