rcassani / Python-GIS

GIS exercises and examples with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GIS with Python

This repo is to host a gallery with examples and exercies that I have found useful at exploring the use of Python in GIS applications. It also provides a list of resources that have helped me.

Environment setup

My setup is carried out with conda.

The gis.yml file is a conda environment with all the required packages.

$ conda env create -f ./gis.yml

If it fails to create the enviroment, it can be replicated with:

$ conda env create --name gis
$ conda config --env --add channels conda-forge
$ conda config --env --set channel_priority strict
$ conda install python=3 geopands geopy osmnx contextily

Once the setup is done a new .yml can be created to reproduce the environment

conda env export --name gis > ./gis.yml

Gallery

Dir Topic From
E01 Create shapefile geometries with shapely [1]
E02 Intro to GeoPandas and CRSs [1]
E03 Geocoding, data from OpenStreetMap, reclassification and background map [1], [2]
E04 Geocoding, distances, reclassification, background map, plotting [3]

Resources

[1] Introduction to Python GIS https://automating-gis-processes.github.io/CSC18/index.html

[2] Documentation GeoPandas, Adding a background map to plots

[3] How far is a Costco in Montreal?

About

GIS exercises and examples with Python


Languages

Language:HTML 99.9%Language:Python 0.1%