hands-on lab

Importing and Exporting Geography Data with BigQuery

Difficulty: Beginner
Duration: Up to 1 hour
Students: 68
Rating: 4/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.

Description

This lab introduces the special GEOGRAPHY data type in Google Cloud Platform’s BigQuery GIS serverless data warehouse tool. The lab walks the user through the spatial constructor functions which allow the user to create GEOGRAPHY objects, including points, linestrings, and polygons. The final section covers how users can export GEOGRAPHY objects into other data formats, such as GeoJSON.

Learning Objectives

Upon completion of this lab you will be able to:

  • Interact with BigQuery datasets within Jupyter notebooks
  • Convert geospatial data into a BigQuery GIS GEOGRAPHY data object
  • Export BigQuery GIS GEOGRAPHY objects into other formats

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

Updates

August 7th, 2024 - Added password protection to notebook

Covered topics

Lab steps

Starting the Lab's Google Cloud Hosted Jupyter Notebook