Skip to main content

Python snippets for geospatial analysis

Project description

pygis

https://mybinder.org/badge_logo.svg https://img.shields.io/pypi/v/pygis.svg https://img.shields.io/travis/giswqs/pygis.svg Documentation Status https://img.shields.io/badge/License-MIT-yellow.svg

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.

History

0.1.0 (2018-11-09)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygis-0.1.3.tar.gz (10.9 kB view hashes)

Uploaded Source

Built Distribution

pygis-0.1.3-py2.py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page