SlideShare a Scribd company logo
CARTO Cloud Native – An
introduction to the Spatial
Extension for BigQuery
Follow @CARTO on Twitter
CARTO — Unlock the power of spatial analysis
Introductions
Margara Tejera
Product Manager at CARTO
Miguel Álvarez
Data Scientist at CARTO
CARTO — Unlock the power of spatial analysis
Agenda
● Introduction to the Spatial Extension and vision
● Overview of the functions available in the Spatial Extension for BigQuery
● Demo: cluster, polygonize and spatial indexes
● Tiler + feature preview.
● Demo: solving a complete spatial analysis
● Spatial Extension for Snowflake
● Q&A
CARTO — Unlock the power of spatial analysis
POLL 1
Data Analyst ………..…………………………………………………………….
Data Scientist ………………….……….………………………………………..
Developer …..…………………………………...………………………………..
What’s your current role?
Other …..…………………………………………………………………………….
CARTO — Unlock the power of spatial analysis
Intro
CARTO — Unlock the power of spatial analysis
CARTO is going cloud native
CARTO — Unlock the power of spatial analysis
The CARTO Spatial Extension is
a suite of user defined
functions (UDFs) and
procedures to perform spatial
analysis natively within the
cloud data warehouse
environment.
What’s the Spatial
Extension?
CARTO — Unlock the power of spatial analysis
CARTO — Unlock the power of spatial analysis
● Scalable and serverless spatial analytics
● No more ETLs: everything happens within the data
warehouse
● Security compliance!
Some key benefits
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO — Unlock the power of spatial analysis
Status in BigQuery
● 60+ core functions
● 12 advanced
functions and
procedures
* Full list in the Documentation
CARTO — Unlock the power of spatial analysis
● Spatial Extension: BigQuery
project called bqcarto.
● Module: BigQuery dataset, e.g. h3,
quadkey, tiler, etc. Organises the
functionality of the Spatial Extension in
categories.
● Function / procedure:
BigQuery UDF functions and
procedures.
CARTO — Unlock the power of spatial analysis
POLL 2
Only CARTO ……………………………………………………………………….
Only BigQuery ………………………….………………………………………..
Both CARTO & BigQuery…..………………………………………………..
Do you use CARTO and/or BigQuery ?
CARTO — Unlock the power of spatial analysis
Examples & new
CARTO Cloud Native
CARTO — Unlock the power of spatial analysis
CARTO Cloud Native
Workspace
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO — Unlock the power of spatial analysis
Cluster and polygonize
CARTO — Unlock the power of spatial analysis
Weather stations
coverage using Voronoi
diagrams
New police stations based
on Chicago Crime
locations
CARTO — Unlock the power of spatial analysis
Spatial Indexes
H3 · Quadkey · S2
CARTO — Unlock the power of spatial analysis
What are they?
CARTO — Unlock the power of spatial analysis
Spatial indices = scalable spatial analysis
Enable to partition the space at different resolutions [viz]
CARTO — Unlock the power of spatial analysis
Spatial indices = scalable spatial analysis
Expensive spatial operations like intersections become table JOINS
CARTO — Unlock the power of spatial analysis
Example
CARTO — Unlock the power of spatial analysis
Tiler
CARTO — Unlock the power of spatial analysis
BigQuery Tiler is a solution to visualise
massive datasets hosted in BigQuery
through the transformation of the original
data into vector tiles.
What is it?
CARTO — Unlock the power of spatial analysis
How it works
● Converts tables into tilesets: z, x, y, data (MVT), carto_partition
● Metadata stored in z/x/y -1/NULL/NULL (JSON)
● 4000 partitions using carto_partition: improve speed
● Uses procedures: reads query twice (get metadata, generate tileset)
z x y carto_partition data
16 45340 24576 3605 H4sIAAAAAAAA/5Py52JPdt3eyCLEwM (…)
CARTO — Unlock the power of spatial analysis
1. World Population (Worldpop)
2. New American Atlas (CDRC)
3. Night time lights (Colorado School of
Mines)
Examples
Publicly available in BigQuery
project carto-do-public-tilesets
CARTO — Unlock the power of spatial analysis
● No configuration needed
● Smart tile memory
management
Feature preview:
Smart Tiler
ST_GENERATETILESET(
input_sql STRING,
output_table_name STRING,
--OPTIONAL
options)
CARTO — Unlock the power of spatial analysis
CARTO offers a complete toolset
1. Create tilesets with BigQuery Tiler
2. Serve tiles through the Maps API
3. Visualise tilesets
○ In the Dashboard / Cloud Native Workspace
○ In custom apps through CARTO for deck.gl and CARTO for
React
CARTO — Unlock the power of spatial analysis
Point Aggregation
Tileset
● Encodes the original features
(points, lines, polygons) and
their attributes.
● Only for points or data that can be
converted to points.
● Encodes the aggregation of the
points’ attributes.
Simple Tileset
CARTO — Unlock the power of spatial analysis
It’s time for a real world example!
CARTO — Unlock the power of spatial analysis
Getting access
CARTO — Unlock the power of spatial analysis
1. Create BigQuery connection, OAuth type.
2. Choose any billing project
3. Check that you have access running this in BQ:
bqcarto.tiler.VERSION()
CARTO — Unlock the power of spatial analysis
Other data
warehouses
CARTO — Unlock the power of spatial analysis
Status in
Snowflake
● Same functionality as
in BigQuery, except
Tiler and Data module.
● Installation through the
Snowflake Data
Marketplace.
* Full list in the Documentation
Coming soon!
CARTO — Unlock the power of spatial analysis
Q&A
Thanks for listening!
Any questions?
Request a demo at CARTO.COM
Miguel Álvarez
Data Scientist at CARTO // malvarez@cartodb.com
Margara Tejera
Product Manager at CARTO // mtejera@cartodb.com

More Related Content

PDF
Developing Spatial Applications with CARTO for React v1.1
PDF
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
PDF
Le rôle de l’intelligence géospatiale dans la reprise économique
PDF
How to become a Spatial Data Scientist?
PDF
Developing Spatial Applications with Google Maps and CARTO
PDF
Why High-Resolution Spatial Data on Population Matters
PDF
Think Spatial: Don't Ignore Location in your Models! [CARTOframes]
PDF
Using Geospatial to Innovate in Last-Mile Logistics
Developing Spatial Applications with CARTO for React v1.1
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
Le rôle de l’intelligence géospatiale dans la reprise économique
How to become a Spatial Data Scientist?
Developing Spatial Applications with Google Maps and CARTO
Why High-Resolution Spatial Data on Population Matters
Think Spatial: Don't Ignore Location in your Models! [CARTOframes]
Using Geospatial to Innovate in Last-Mile Logistics

What's hot (20)

PDF
The Role of Data Science in Real Estate
PDF
CARTO BUILDER: from visualization to geospatial analysis
PDF
Embedding Location Intelligence in Web Apps that Enhance User Experience [Air...
PDF
The Role of Indoor Mapping in the “New Normal”
PDF
The Sum of our Parts: the Complete CARTO Journey [CARTO]
PDF
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
PPTX
Tb geo dev_presentation_nov_5
PDF
Helping insurers Uncover Location Data and the Predictive Analytics Factor
PDF
The Ultimate Guide to Location Data: New Datasets & Methods
PDF
CLOBS ERP - The Complete ERP from Cloud System W.L.L
PDF
Applying Spatial Analysis to Real Estate Decision-Making
PDF
Open your data with CartoDB
PPTX
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
PDF
Leveraging Social Media Data During COVID-19
PDF
Indoor Mapping: Why Precision Matters
PDF
How to Use Geospatial Data to Identify CPG Demnd Hotspots
PPTX
How to play with maps @ 20180321 Google sharing
PPTX
Using R to Visualize Spatial Data: R as GIS - Guy Lansley
PDF
Understanding Retail Catchment Areas with Human Mobility Data
PDF
An Introduction to Mapping, GIS and Spatial Modelling in R (presentation)
The Role of Data Science in Real Estate
CARTO BUILDER: from visualization to geospatial analysis
Embedding Location Intelligence in Web Apps that Enhance User Experience [Air...
The Role of Indoor Mapping in the “New Normal”
The Sum of our Parts: the Complete CARTO Journey [CARTO]
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
Tb geo dev_presentation_nov_5
Helping insurers Uncover Location Data and the Predictive Analytics Factor
The Ultimate Guide to Location Data: New Datasets & Methods
CLOBS ERP - The Complete ERP from Cloud System W.L.L
Applying Spatial Analysis to Real Estate Decision-Making
Open your data with CartoDB
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
Leveraging Social Media Data During COVID-19
Indoor Mapping: Why Precision Matters
How to Use Geospatial Data to Identify CPG Demnd Hotspots
How to play with maps @ 20180321 Google sharing
Using R to Visualize Spatial Data: R as GIS - Guy Lansley
Understanding Retail Catchment Areas with Human Mobility Data
An Introduction to Mapping, GIS and Spatial Modelling in R (presentation)
Ad

Similar to CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery (20)

PDF
Scaling Spatial Analytics with Google Cloud & CARTO
PPTX
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
PDF
Unlocking Geospatial Analytics Use Cases with CARTO and Databricks
PDF
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
PDF
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
PDF
Bath: Hacked Learning Night: Introduction to CartoDB
PDF
InnoConnect: Big data analysis
PDF
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
PDF
(eBook PDF) Introduction to Geographic Information Systems 8th
PDF
Understanding Residential Energy Usage with CARTO & Doorda.pdf
PPT
OS MasterMap it's not a map - but data
PDF
Location Intelligence & Data Visualization
PDF
Using python to analyze spatial data
PDF
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
PDF
Bring Cartography to the Cloud
PDF
(eBook PDF) Introduction to Geographic Information Systems, 9th Edition
PDF
DevTalks Keynote Powering interactive data analysis with Google BigQuery
PDF
Global deforestation through time. Presentation at ESA
PDF
AGIT 2015 - Hans Viehmann: "Big Data and Smart Cities"
PDF
Geospatial Intelligence Middle East 2013_Big Data_Steven Ramage
Scaling Spatial Analytics with Google Cloud & CARTO
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Unlocking Geospatial Analytics Use Cases with CARTO and Databricks
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
Bath: Hacked Learning Night: Introduction to CartoDB
InnoConnect: Big data analysis
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
(eBook PDF) Introduction to Geographic Information Systems 8th
Understanding Residential Energy Usage with CARTO & Doorda.pdf
OS MasterMap it's not a map - but data
Location Intelligence & Data Visualization
Using python to analyze spatial data
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
Bring Cartography to the Cloud
(eBook PDF) Introduction to Geographic Information Systems, 9th Edition
DevTalks Keynote Powering interactive data analysis with Google BigQuery
Global deforestation through time. Presentation at ESA
AGIT 2015 - Hans Viehmann: "Big Data and Smart Cities"
Geospatial Intelligence Middle East 2013_Big Data_Steven Ramage
Ad

More from CARTO (15)

PDF
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
PDF
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
PDF
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
PDF
Location Intelligence: The Secret Sauce for OOH Advertising
PDF
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
PDF
Spatial Analytics in the Cloud Using Snowflake & CARTO
PDF
What Spatial Analytics Tells Us About the Future of the UK High Street
PDF
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
PDF
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
PDF
Using Places (POI) Data for QSR Site Selection
PDF
5 Ways to Strategize for Emerging Short-Term Rental Trends
PDF
Using Location Data to Adapt to the New normal
PDF
7 Reasons Why CPG Marketers Are Turning To Location Analytics
PDF
Analyzing the Rise of the Staycation during COVID-19
PDF
Google Analytics location data visualised with CARTO & BigQuery
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Location Intelligence: The Secret Sauce for OOH Advertising
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Spatial Analytics in the Cloud Using Snowflake & CARTO
What Spatial Analytics Tells Us About the Future of the UK High Street
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
Using Places (POI) Data for QSR Site Selection
5 Ways to Strategize for Emerging Short-Term Rental Trends
Using Location Data to Adapt to the New normal
7 Reasons Why CPG Marketers Are Turning To Location Analytics
Analyzing the Rise of the Staycation during COVID-19
Google Analytics location data visualised with CARTO & BigQuery

Recently uploaded (20)

PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
IB Computer Science - Internal Assessment.pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PDF
annual-report-2024-2025 original latest.
PPTX
Business Acumen Training GuidePresentation.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
Mega Projects Data Mega Projects Data
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Introduction to machine learning and Linear Models
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Clinical guidelines as a resource for EBP(1).pdf
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
IB Computer Science - Internal Assessment.pptx
Business Analytics and business intelligence.pdf
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
IBA_Chapter_11_Slides_Final_Accessible.pptx
annual-report-2024-2025 original latest.
Business Acumen Training GuidePresentation.pptx
Fluorescence-microscope_Botany_detailed content
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Mega Projects Data Mega Projects Data
Database Infoormation System (DBIS).pptx
Introduction to machine learning and Linear Models
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
oil_refinery_comprehensive_20250804084928 (1).pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
ISS -ESG Data flows What is ESG and HowHow
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx

CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery

  • 1. CARTO Cloud Native – An introduction to the Spatial Extension for BigQuery Follow @CARTO on Twitter
  • 2. CARTO — Unlock the power of spatial analysis Introductions Margara Tejera Product Manager at CARTO Miguel Álvarez Data Scientist at CARTO
  • 3. CARTO — Unlock the power of spatial analysis Agenda ● Introduction to the Spatial Extension and vision ● Overview of the functions available in the Spatial Extension for BigQuery ● Demo: cluster, polygonize and spatial indexes ● Tiler + feature preview. ● Demo: solving a complete spatial analysis ● Spatial Extension for Snowflake ● Q&A
  • 4. CARTO — Unlock the power of spatial analysis POLL 1 Data Analyst ………..……………………………………………………………. Data Scientist ………………….……….……………………………………….. Developer …..…………………………………...……………………………….. What’s your current role? Other …..…………………………………………………………………………….
  • 5. CARTO — Unlock the power of spatial analysis Intro
  • 6. CARTO — Unlock the power of spatial analysis CARTO is going cloud native
  • 7. CARTO — Unlock the power of spatial analysis The CARTO Spatial Extension is a suite of user defined functions (UDFs) and procedures to perform spatial analysis natively within the cloud data warehouse environment. What’s the Spatial Extension?
  • 8. CARTO — Unlock the power of spatial analysis
  • 9. CARTO — Unlock the power of spatial analysis ● Scalable and serverless spatial analytics ● No more ETLs: everything happens within the data warehouse ● Security compliance! Some key benefits
  • 11. CARTO — Unlock the power of spatial analysis Status in BigQuery
  • 12. ● 60+ core functions ● 12 advanced functions and procedures * Full list in the Documentation
  • 13. CARTO — Unlock the power of spatial analysis ● Spatial Extension: BigQuery project called bqcarto. ● Module: BigQuery dataset, e.g. h3, quadkey, tiler, etc. Organises the functionality of the Spatial Extension in categories. ● Function / procedure: BigQuery UDF functions and procedures.
  • 14. CARTO — Unlock the power of spatial analysis POLL 2 Only CARTO ………………………………………………………………………. Only BigQuery ………………………….……………………………………….. Both CARTO & BigQuery…..……………………………………………….. Do you use CARTO and/or BigQuery ?
  • 15. CARTO — Unlock the power of spatial analysis Examples & new CARTO Cloud Native
  • 16. CARTO — Unlock the power of spatial analysis CARTO Cloud Native Workspace
  • 18. CARTO — Unlock the power of spatial analysis Cluster and polygonize
  • 19. CARTO — Unlock the power of spatial analysis Weather stations coverage using Voronoi diagrams New police stations based on Chicago Crime locations
  • 20. CARTO — Unlock the power of spatial analysis Spatial Indexes H3 · Quadkey · S2
  • 21. CARTO — Unlock the power of spatial analysis What are they?
  • 22. CARTO — Unlock the power of spatial analysis Spatial indices = scalable spatial analysis Enable to partition the space at different resolutions [viz]
  • 23. CARTO — Unlock the power of spatial analysis Spatial indices = scalable spatial analysis Expensive spatial operations like intersections become table JOINS
  • 24. CARTO — Unlock the power of spatial analysis Example
  • 25. CARTO — Unlock the power of spatial analysis Tiler
  • 26. CARTO — Unlock the power of spatial analysis BigQuery Tiler is a solution to visualise massive datasets hosted in BigQuery through the transformation of the original data into vector tiles. What is it?
  • 27. CARTO — Unlock the power of spatial analysis How it works ● Converts tables into tilesets: z, x, y, data (MVT), carto_partition ● Metadata stored in z/x/y -1/NULL/NULL (JSON) ● 4000 partitions using carto_partition: improve speed ● Uses procedures: reads query twice (get metadata, generate tileset) z x y carto_partition data 16 45340 24576 3605 H4sIAAAAAAAA/5Py52JPdt3eyCLEwM (…)
  • 28. CARTO — Unlock the power of spatial analysis 1. World Population (Worldpop) 2. New American Atlas (CDRC) 3. Night time lights (Colorado School of Mines) Examples Publicly available in BigQuery project carto-do-public-tilesets
  • 29. CARTO — Unlock the power of spatial analysis ● No configuration needed ● Smart tile memory management Feature preview: Smart Tiler ST_GENERATETILESET( input_sql STRING, output_table_name STRING, --OPTIONAL options)
  • 30. CARTO — Unlock the power of spatial analysis CARTO offers a complete toolset 1. Create tilesets with BigQuery Tiler 2. Serve tiles through the Maps API 3. Visualise tilesets ○ In the Dashboard / Cloud Native Workspace ○ In custom apps through CARTO for deck.gl and CARTO for React
  • 31. CARTO — Unlock the power of spatial analysis Point Aggregation Tileset ● Encodes the original features (points, lines, polygons) and their attributes. ● Only for points or data that can be converted to points. ● Encodes the aggregation of the points’ attributes. Simple Tileset
  • 32. CARTO — Unlock the power of spatial analysis It’s time for a real world example!
  • 33. CARTO — Unlock the power of spatial analysis Getting access
  • 34. CARTO — Unlock the power of spatial analysis 1. Create BigQuery connection, OAuth type. 2. Choose any billing project 3. Check that you have access running this in BQ: bqcarto.tiler.VERSION()
  • 35. CARTO — Unlock the power of spatial analysis Other data warehouses
  • 36. CARTO — Unlock the power of spatial analysis Status in Snowflake ● Same functionality as in BigQuery, except Tiler and Data module. ● Installation through the Snowflake Data Marketplace. * Full list in the Documentation Coming soon!
  • 37. CARTO — Unlock the power of spatial analysis Q&A
  • 38. Thanks for listening! Any questions? Request a demo at CARTO.COM Miguel Álvarez Data Scientist at CARTO // malvarez@cartodb.com Margara Tejera Product Manager at CARTO // mtejera@cartodb.com