Exercise_8_V2a
docx
keyboard_arrow_up
School
Middle Tennessee State University *
*We aren’t endorsed by this school
Course
4100
Subject
Information Systems
Date
Dec 6, 2023
Type
docx
Pages
10
Uploaded by MagistrateLightningApe33
BIA4100: Location Analytics
Exercise 8: Bird Tracks
Exercise Version: SP2022a
Exercise Author: Erskine
Credits: Exercise adapted from Carto’s Animating Maps with Point Data. Available at: https://carto.com/help/tutorials/animating-maps-with-point-data/
Objective: Visualize point data over time.
Introduction
In this exercise you will learn how to visualize point data over time, by applying the ANIMATED aggregation style to animate your map. This feature requires a map layer containing point geometries with a timestamp, or numeric field.
Required and Recommended Tools
Carto, QGIS (to inspect the Shapefile)
Task 0: Get a free student Github and CARTO account
To verify that only eligible students are accessing CARTO, they use Github’s verification system. This means you will need to go through their channels to ensure you receive the proper student account:
1.
If you don’t already have a Github account associated with your MTSU email account, sign up for a free Github account
, using your university issued email to do so
2.
Next, apply for the Github Education Pack
so that you can get a free student CARTO account
3.
Once you apply, Github will need to verify you are, in fact, a student. This could take from 1 hour to several days. Please be patient and wait for your official verification
, it is important for the process.
4.
Upon verification, you will receive an email from Github that you have access to the Education Pack
5.
Sign up to CARTO for Students
.
Task 1: Create a Carto data connection
Use the provided .shp vector (point) shapefile to create a bird tracking map.
1.
Download the resource file for this project to your local machine. There is no need to extract the zip file to view the dataset to be used for this guide.
2.
From the Carto Workspace go to the Data Explorer. Import the bird_tracking_geo.zip Shapefile using the upload button.
3.
From the Import data dialog, browse to (and select) the bord_tracking_geo.zip file on your local workstation. Leave the Auto-guessing toggle set to on. Then select the Continue
button.
4.
On the second tab (destination) of the Import data dialog box, select where you want to store the file. I recommend, selecting the shared folder under organization data (if this is
available to you). Next, click Save here.
5.
The third tab, Confirmation, allows you to confirm your selection. Review the data then select Import.
6.
The import should now run and take about one minute. This process is uploading your Shapefile, creating a Geodatabase, and importing your Shapefile into the Geodatabase. When the process is complete, select Done.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Select the new data connection in the file explorer and wait for the map and data preview to load. It should look like what is shown below. Once confirmed, select Create Map (near the top right of the window).
Task 2: Create map from point data
After a minute or two a new map will appear in Carto Builder. This map has a single layer of all data points provided in the Shapefile. You will first format the map layer, then aminate the map using a Carto widget.
1.
First, let’s rename the new layer. You can do so by selecting the three dots to reveal the expansion menu. Select Rename. Rename the layer to bird_tracking.
2.
Next, rename the map. The current map name was automatically generated. Select this text and enter Bird Tracks.
3.
Take a minute to explore your options. The dataset contains values for three unique birds: Eric, Nico, and Sanne. You will give each bird a unique color on your map. To do this expand the Fill Color styles. Select a color pallete that you like and makes each bird distinct on the map. You will need to select Color based on to Bird_name. Set the Opacity to 0.8 and set the Radius to 12. Your map and configuration should look similar to the following:
4.
To improve readability, let’s add a legend to the map. Simple select the layer tab (it looks
like a small table) then ensure that Color is based on bird_name and activate “Open when loading the map”. The properties should be similar to the following:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
The map should also have a legend similar to the following:
Task 3: Animate your map using a Carto widget
The static map shows the migration path for each individual bird. However, you do not have a sense of whether they traveled together or stopped along the way. We will address this using an
animation.
1.
Go the Widgets tab in Carto Builder.
2.
There are no widgets yet, so let’s add one. Click New widget, then select the data source you want to apply the widget to (the only option is bird_tracking_geo).
3.
Let’s configure the new Widget. First, select Time Series as the Widget type. Ensure that the Data values are set to Operation: Count and bird_tracking_geo is set to the Time date_time field. You can aggregate by hours or days for this animation; however, days
would be best for this animation. Active the Animation Controls toggle. Ensure that your Widget is configured like the following:
4.
Next, I encourage you to test the widget. You can do this by pressing the “play” button on the new Widget. Watching the animation you will notice that Sanne leaves her
home in Belgium much earlier than Eric and Nico.
5.
Finally, let’s name our Widget to something meaningful. Like “Animate Migration”. To do this click the three dots and then select Rename.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Task 4: Share your map
You have now created a meaningful animation ready to be shared with the world.
1.
To share your map, click the “Share” button. 2.
In the Sharing options dialog select Public map, then Share Link and select the Copy public share link button. This will save the maps’ link to your clipboard. For instance, my map is available here (which I pasted from the clipboard):
https://gcp-us-east1.app.carto.com/map/97ed7ee3-14c8-4ef7-b852-fc352ab73d3f
Note: your map will have a unique URL. Please share this link to D2L.