hands-on lab

Spatial Measurements and Spatial Transformations with BigQuery GIS and Python

Beginner
1h
38
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

This lab will teach you how to perform spatial measurements and spatial transformations in BigQuery GIS using Python and Jupyter notebooks. The lab uses New York City landmark geospatial points to demonstrate the distance measurement function within BigQuery GIS and Google public census places data to demonstrate the area measurement function on a geospatial polygon. Spatial transformation functions are demonstrated by calculating the centroid of geospatial polygons from the Google zip code public data and combining single geospatial points into multipoint GEOGRAPHY objects using the aggregate union transformation function from the Google New York tree census public data.

Learning Objectives

Upon completion of this lab you will be able to:

  • Interact with BigQuery GIS datasets within Jupyter notebooks
  • Perform spatial measurements on GEOGRAPHY data
  • Perform spatial transformations on GEOGRAPHY data

Intended Audience

This lab is intended for:

  • GIS engineers
  • Data engineers dealing with location-based data
  • Developers looking to leverage geospatial information

Prerequisites

You should possess:

  • Basic understanding of relational databases and ANSI SQL
  • Basic understanding of Python
  • Familiarity with BigQuery GIS's GEOGRAPHY datatype is beneficial but not required
About the author
Avatar
Calculated Systems
Training Provider
Students
30,942
Labs
31
Courses
13
Learning paths
42

Calculated Systems was founded by experts in Hadoop, Google Cloud and AWS. Calculated Systems enables code-free capture, mapping and transformation of data in the cloud based on Apache NiFi, an open source project originally developed within the NSA. Calculated Systems accelerates time to market for new innovations while maintaining data integrity.  With cloud automation tools, deep industry expertise, and experience productionalizing workloads development cycles are cut down to a fraction of their normal time. The ability to quickly develop large scale data ingestion and processing  decreases the risk companies face in long development cycles. Calculated Systems is one of the industry leaders in Big Data transformation and education of these complex technologies.

Covered topics
Lab steps
Starting the Lab's Jupyter Notebook in Google Cloud