Skip to content

ua-gist-open-source/python-geopandas-join

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Codespaces

Python Spatial Programming with Geopandas

Assignment

Background

We have now worked with Python with the pandas library to learn about DataFrames and geopandas to learn about GeoDataFrames by following some basic tutorials. This next assignment will use the toy nybb database that is popular in the open source software world to work with geopandas more exploratively. More specifcially, we will be reproducing some output that we previously did in the QGIS Tutorials.

GeoPandas

Read this tutorial Browse/read the GeoPandas user guide.

Geospatial libraries and notes on documentation

Geospatial Library Reference:

Docs can be good or bad. The docs for above range from "ok" to "good". It helps to have a working knowledge of pandas but the docs for pandas are quite good for learning and as a reference. geopandas actually uses the shapely model for geometries and while it needs to be installed, there is little direct interaction with this library on our part except for accessing the shapely geometries.

Objective

The objective of this lab is to reproduce one of the QGIS Tutorials you did previously:

Directions

Create a new branch to work from.

Create a new branch named geopandas.

Start your codespace on the geopandas branch

From the main GitHub page for this assignment, click Code -> Codespaces -> Create codespace on assignment. This will create the codespace and open a new browser window to connect to the codespace.

create-codespace.png

Follow the instructions in assignment.ipynb inside your codespace

The details for the assignment are embedded in a Jupyter notebook. You can work through the material in the codespace.

Deliverables

An open Pull Request from a branch named geopandas to be merged with master containing the following files:

  • spatial_join.py
  • spatial_join.png

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published