About this Tutorial:
Description: This notebook was made to demonstrate how to make a gif map by merging 2 datasets. The first being a dataset containing mappable coordinates onto which the second dataset may mapping its information of interest.
This lab is split into two sections.
The first part of this lab provides help you understand the basics operations.
The second part of this notebook provides a single python function that handles everything covered in this lab (and more).
Input(s):
Dataset (points/ bounds) url
Points/ bounds geometry column(s)
Points/ bounds crs's
Points/ bounds mapping color(s)
New filename
Output: Files, Gif
*please note
This lab in particular makes heavy use of data that is not publicly accessible. Later labs use functions created here on public data.
A table of contents is provided in the menu to the left.
And, that this notebook has been optimized for Google Colabs ran on a Chrome Browser.
While still fully usable, non-critical section of code (eg. Python Magics and HTML) may break if used in a different enviornment.
SETUP
Import Modules
Configure Enviornment
Conveince Functions
This next function was created in previous colabs. We are going to recycle it for use in this lab
MAPPING
Fantastic!
Your data is all together in a single dataset.
now what?
First lets take the centerpoint of each geometry. This will be where we place text on the each geometry.
Lets make a GIF
Data was successfully merged across all years and geometry.
Now we want the tractname, geometry, and the specific column we want to make a gif from.
Data exploration is essential! But not covered in this lab.
Everything is almost ready to start making our gifmap!
Lets just get the minimum and maximum values so that our color ramp will have consistent values on each picture.