SlideShare a Scribd company logo
Unlocking geospatial analytics
use cases with CARTO and
Databricks
Borja Muñoz
Product Manager, CARTO
CARTO
Customers
Unlock the power of spatial analysis
500k+
Users Team members
150+
Team
LI Wave 2018
CARTO — Unlock the power of spatial analysis
● Business Analysts
● Product Managers
● Data Scientists
● Decision Makers
Why does spatial analysis matter?
New End Users New Analysis
● Human Mobility
● Transactions
● IoT Hardware
● Connected Devices
● Census or Open Data
● CRM or Loyalty Data
New Data Streams
● Optimization
● Spatial Prediction
● Visual Inference
● Spatial Data Science
CARTO — Unlock the power of spatial analysis
CARTO + Databricks
Spatial Analytics at Scale
Increased Collaboration and
Access to Data
Interactive Exploration of
your Spatial Data
Data Science teams often have
to perform spatial analytics
over very large datasets
With CARTO’s spatial analysis
functionality and the
Databricks unified analytics
platform, data scientists can
run spatial analysis on very
large datasets
The CARTO Direct SQL
Connection feature allows you
to access your spatial data
from the Databricks platform
and combine it with your Delta
Lake
Data is stored in siloed
database systems, making it
challenging to enrich and
combine your datasets
When you are working with a
dataset with spatial
information, you need to have
a way to explore the data
interactively on a map
The use of CARTOframes
within Databricks notebooks
allows you to generate
insightful map visualizations
from your spatial data
Current
Challenge
Joint Value
Propositio
n
CARTO — Unlock the power of spatial analysis
Architecture
Transformation
Storage
Model/Job Processing
Direct SQL
Connection
CARTO Spatial
Database
Direct SQL
Connection
CARTO Spatial
Database
Visualization,
Enrichment,
Analysis
CARTOframes
CARTO — Unlock the power of spatial analysis
Direct SQL
Connection
Connect to CARTO database from
Databricks cluster and read/write
data using Spark DataFrames
CARTOframes
Python library to enrich, analyze and
visualize geospatial data within your
Databricks notebooks
CARTO — Unlock the power of spatial analysis
➔ Create a Spark DataFrame
from a CARTO dataset.
Need to allow access to the CARTO
database from the Databricks
cluster.
Direct SQL
Connectionremote_table =
spark.read.format("jdbc") 
.option("url",
"jdbc:postgresql://<SERVER>:5432/carto
db") 
.option("dbtable", "<TABLE>") 
.option("user", "<USERNAME>") 
.option("password", "<API_KEY>") 
.option("ssl", True) 
.option("sslmode", "require" ) 
.load()
CARTO — Unlock the power of spatial analysis
➔ Install CARTOframes as any
other Python library
➔ Set your CARTO credentials
➔ Read from a CARTO dataset
into a GeoPandas
GeoDataFrame
CARTOframesdbutils.library.installPyPI('cartofram
es', version='1.0.0')
set_default_credentials(
username=username,
api_key=api_key
)
target = read_carto('SELECT * FROM
target_stores', decode_geom=True)
CARTO — Unlock the power of spatial analysis
Direct SQL
Connection
Use it when:
● You need to perform data
engineering tasks not suitable
for relational databases
● Scalability is an issue
CARTOframes
Use it when:
● You want to visualize your
geospatial data
● You want to enrich your data
with premium datasets
● You want to perform spatial
analysis (i.e. isochrones)
CARTO — Unlock the power of spatial analysis
Generic Use Cases
Use Databricks for
collecting and
preparing your
datasets for
visualization and/or
spatial analysis with
CARTO
Data
Engineerin
g
Data
Visualizatio
n
Data
Analysis
Visualize in a CARTO
map within your
Databricks notebook
the data you are
working with
Take advantage of
CARTO features for
spatial data science
within your
Databricks
notebooks
CARTO — Unlock the power of spatial analysis
Logistics firms can reduce costs &
increase visibility by applying spatial
analysis to use cases such as:
● Route Optimization
● Pick Up & Drop Off Site Planning
● Fleet Management
● Territory Analysis
● Address Optimization
Logistics
Replace this image
CARTO — Unlock the power of spatial analysis
Telcos are leverage Location
Intelligence to find new revenues across
their business, focusing on use cases
such as:
● Data Monetization
● 4G / 5G deployment planning
● Smart Cities and IoT
● Churn Reduction
● Geomarketing
● Site Planning
Telcos
Replace this image
CARTO — Unlock the power of spatial analysis
Consumer & investment banks are
using spatial analysis for use cases such
as:
● Site Selection
● Branch Consolidation
● ATM Location Optimization
Credit card providers use spatial
analysis for a range of use cases
including:
● Data monetization
● Transaction analysis & geocoding
● Consumer profiling
Financial Services
Replace this image
CARTO — Unlock the power of spatial analysis
Consumer packaged goods companies
use Location Intelligence for:
● Distribution Management
● Supply Chain Network Design
● Geomarketing
● Territory Management
● Customer Behaviour Analytics
CPG / FMCG
Replace this image
CARTO — Unlock the power of spatial analysis
A patient’s location directly influences
their health. Considering spatial in
healthcare analytics can support use
cases such as:
● Healthcare Factor Analysis
● Site Planning (for clinics or
vaccination centres)
● Territory Management
● Supply Chain Network Design
Healthcare &
Pharma
Replace this image
CARTO — Unlock the power of spatial analysis
It’s time for a real world example!
Feedback
Your feedback is important to us.
Don’t forget to rate
and review the sessions.

More Related Content

PDF
7 Reasons Why CPG Marketers Are Turning To Location Analytics
PDF
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
PDF
Understanding Retail Catchment Areas with Human Mobility Data
PDF
Using Geospatial to Innovate in Last-Mile Logistics
PDF
Location Intelligence: The Secret Sauce for OOH Advertising
PDF
CARTO BUILDER: from visualization to geospatial analysis
PDF
How retail analytics help monitor big box stores performance
PDF
Supercharging Site Planning in Retail & Real Estate [CARTO Reveal]
7 Reasons Why CPG Marketers Are Turning To Location Analytics
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
Understanding Retail Catchment Areas with Human Mobility Data
Using Geospatial to Innovate in Last-Mile Logistics
Location Intelligence: The Secret Sauce for OOH Advertising
CARTO BUILDER: from visualization to geospatial analysis
How retail analytics help monitor big box stores performance
Supercharging Site Planning in Retail & Real Estate [CARTO Reveal]

What's hot (20)

PDF
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
PDF
The Ultimate Guide to Location Data: New Datasets & Methods
PDF
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
PDF
Location Intelligence for All: Enabling Individuals to Use Spatial Analysis [...
PDF
How to Use Geospatial Data to Identify CPG Demnd Hotspots
PPTX
Data-Driven @ Netflix
PDF
14 2 2023 - AI & Marketing - Hugues Rey.pdf
PPTX
Workshop: Make the Most of Customer Data Platforms - David Raab
PDF
Developing a Roadmap for Digital Transformation
PPTX
Future of Data and AI in Retail - NRF 2023
PDF
Scaling Ride-Hailing with Machine Learning on MLflow
PDF
Developing Spatial Applications with CARTO for React v1.1
PDF
Behind the Buzzword: Understanding Customer Data Platforms in the Light of Pr...
PDF
Driving Growth With Omnichannel Marketing
PDF
Indoor Mapping: Why Precision Matters
PDF
Data Driven Organization
PDF
Scaling Spatial Analytics with Google Cloud & CARTO
PDF
Engagement, Retention and Monetization
PPTX
Best Practices in DataOps: How to Create Agile, Automated Data Pipelines
PDF
Neo4j Webinar: Graphs in banking
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
The Ultimate Guide to Location Data: New Datasets & Methods
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
Location Intelligence for All: Enabling Individuals to Use Spatial Analysis [...
How to Use Geospatial Data to Identify CPG Demnd Hotspots
Data-Driven @ Netflix
14 2 2023 - AI & Marketing - Hugues Rey.pdf
Workshop: Make the Most of Customer Data Platforms - David Raab
Developing a Roadmap for Digital Transformation
Future of Data and AI in Retail - NRF 2023
Scaling Ride-Hailing with Machine Learning on MLflow
Developing Spatial Applications with CARTO for React v1.1
Behind the Buzzword: Understanding Customer Data Platforms in the Light of Pr...
Driving Growth With Omnichannel Marketing
Indoor Mapping: Why Precision Matters
Data Driven Organization
Scaling Spatial Analytics with Google Cloud & CARTO
Engagement, Retention and Monetization
Best Practices in DataOps: How to Create Agile, Automated Data Pipelines
Neo4j Webinar: Graphs in banking
Ad

Similar to Unlocking Geospatial Analytics Use Cases with CARTO and Databricks (20)

PDF
Applying Spatial Analysis to Real Estate Decision-Making
PDF
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
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
The Role of Data Science in Real Estate
PPTX
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
PDF
Leveraging Social Media Data During COVID-19
PDF
Location Intelligence & Data Visualization
PDF
Stepping up your Spatial Analysis with Mastercard Retail Location insights 3.0
PDF
How to become a Spatial Data Scientist?
PDF
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
PDF
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
PDF
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
PDF
From producers to consumers: democratizing the access to reference data
PDF
Developing Spatial Applications with Google Maps and CARTO
PDF
What Spatial Analytics Tells Us About the Future of the UK High Street
PDF
Understanding Residential Energy Usage with CARTO & Doorda.pdf
PDF
Market analysis through Consumer Behavior Pattern Insights
PDF
Why High-Resolution Spatial Data on Population Matters
PDF
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Applying Spatial Analysis to Real Estate Decision-Making
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
Le rôle de l’intelligence géospatiale dans la reprise économique
The Role of Data Science in Real Estate
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Leveraging Social Media Data During COVID-19
Location Intelligence & Data Visualization
Stepping up your Spatial Analysis with Mastercard Retail Location insights 3.0
How to become a Spatial Data Scientist?
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
From producers to consumers: democratizing the access to reference data
Developing Spatial Applications with Google Maps and CARTO
What Spatial Analytics Tells Us About the Future of the UK High Street
Understanding Residential Energy Usage with CARTO & Doorda.pdf
Market analysis through Consumer Behavior Pattern Insights
Why High-Resolution Spatial Data on Population Matters
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Ad

More from Databricks (20)

PPTX
DW Migration Webinar-March 2022.pptx
PPTX
Data Lakehouse Symposium | Day 1 | Part 1
PPT
Data Lakehouse Symposium | Day 1 | Part 2
PPTX
Data Lakehouse Symposium | Day 2
PPTX
Data Lakehouse Symposium | Day 4
PDF
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
PDF
Democratizing Data Quality Through a Centralized Platform
PDF
Learn to Use Databricks for Data Science
PDF
Why APM Is Not the Same As ML Monitoring
PDF
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
PDF
Stage Level Scheduling Improving Big Data and AI Integration
PDF
Simplify Data Conversion from Spark to TensorFlow and PyTorch
PDF
Scaling your Data Pipelines with Apache Spark on Kubernetes
PDF
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
PDF
Sawtooth Windows for Feature Aggregations
PDF
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
PDF
Re-imagine Data Monitoring with whylogs and Spark
PDF
Raven: End-to-end Optimization of ML Prediction Queries
PDF
Processing Large Datasets for ADAS Applications using Apache Spark
PDF
Massive Data Processing in Adobe Using Delta Lake
DW Migration Webinar-March 2022.pptx
Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 4
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
Democratizing Data Quality Through a Centralized Platform
Learn to Use Databricks for Data Science
Why APM Is Not the Same As ML Monitoring
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
Stage Level Scheduling Improving Big Data and AI Integration
Simplify Data Conversion from Spark to TensorFlow and PyTorch
Scaling your Data Pipelines with Apache Spark on Kubernetes
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
Sawtooth Windows for Feature Aggregations
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Re-imagine Data Monitoring with whylogs and Spark
Raven: End-to-end Optimization of ML Prediction Queries
Processing Large Datasets for ADAS Applications using Apache Spark
Massive Data Processing in Adobe Using Delta Lake

Recently uploaded (20)

PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PDF
.pdf is not working space design for the following data for the following dat...
PPT
Quality review (1)_presentation of this 21
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Computer network topology notes for revision
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PDF
Launch Your Data Science Career in Kochi – 2025
PPTX
Moving the Public Sector (Government) to a Digital Adoption
IB Computer Science - Internal Assessment.pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
Fluorescence-microscope_Botany_detailed content
Introduction-to-Cloud-ComputingFinal.pptx
Introduction to Knowledge Engineering Part 1
.pdf is not working space design for the following data for the following dat...
Quality review (1)_presentation of this 21
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Computer network topology notes for revision
IBA_Chapter_11_Slides_Final_Accessible.pptx
Launch Your Data Science Career in Kochi – 2025
Moving the Public Sector (Government) to a Digital Adoption

Unlocking Geospatial Analytics Use Cases with CARTO and Databricks

  • 1. Unlocking geospatial analytics use cases with CARTO and Databricks Borja Muñoz Product Manager, CARTO
  • 2. CARTO Customers Unlock the power of spatial analysis 500k+ Users Team members 150+ Team LI Wave 2018
  • 3. CARTO — Unlock the power of spatial analysis ● Business Analysts ● Product Managers ● Data Scientists ● Decision Makers Why does spatial analysis matter? New End Users New Analysis ● Human Mobility ● Transactions ● IoT Hardware ● Connected Devices ● Census or Open Data ● CRM or Loyalty Data New Data Streams ● Optimization ● Spatial Prediction ● Visual Inference ● Spatial Data Science
  • 4. CARTO — Unlock the power of spatial analysis CARTO + Databricks Spatial Analytics at Scale Increased Collaboration and Access to Data Interactive Exploration of your Spatial Data Data Science teams often have to perform spatial analytics over very large datasets With CARTO’s spatial analysis functionality and the Databricks unified analytics platform, data scientists can run spatial analysis on very large datasets The CARTO Direct SQL Connection feature allows you to access your spatial data from the Databricks platform and combine it with your Delta Lake Data is stored in siloed database systems, making it challenging to enrich and combine your datasets When you are working with a dataset with spatial information, you need to have a way to explore the data interactively on a map The use of CARTOframes within Databricks notebooks allows you to generate insightful map visualizations from your spatial data Current Challenge Joint Value Propositio n
  • 5. CARTO — Unlock the power of spatial analysis Architecture Transformation Storage Model/Job Processing Direct SQL Connection CARTO Spatial Database Direct SQL Connection CARTO Spatial Database Visualization, Enrichment, Analysis CARTOframes
  • 6. CARTO — Unlock the power of spatial analysis Direct SQL Connection Connect to CARTO database from Databricks cluster and read/write data using Spark DataFrames CARTOframes Python library to enrich, analyze and visualize geospatial data within your Databricks notebooks
  • 7. CARTO — Unlock the power of spatial analysis ➔ Create a Spark DataFrame from a CARTO dataset. Need to allow access to the CARTO database from the Databricks cluster. Direct SQL Connectionremote_table = spark.read.format("jdbc") .option("url", "jdbc:postgresql://<SERVER>:5432/carto db") .option("dbtable", "<TABLE>") .option("user", "<USERNAME>") .option("password", "<API_KEY>") .option("ssl", True) .option("sslmode", "require" ) .load()
  • 8. CARTO — Unlock the power of spatial analysis ➔ Install CARTOframes as any other Python library ➔ Set your CARTO credentials ➔ Read from a CARTO dataset into a GeoPandas GeoDataFrame CARTOframesdbutils.library.installPyPI('cartofram es', version='1.0.0') set_default_credentials( username=username, api_key=api_key ) target = read_carto('SELECT * FROM target_stores', decode_geom=True)
  • 9. CARTO — Unlock the power of spatial analysis Direct SQL Connection Use it when: ● You need to perform data engineering tasks not suitable for relational databases ● Scalability is an issue CARTOframes Use it when: ● You want to visualize your geospatial data ● You want to enrich your data with premium datasets ● You want to perform spatial analysis (i.e. isochrones)
  • 10. CARTO — Unlock the power of spatial analysis Generic Use Cases Use Databricks for collecting and preparing your datasets for visualization and/or spatial analysis with CARTO Data Engineerin g Data Visualizatio n Data Analysis Visualize in a CARTO map within your Databricks notebook the data you are working with Take advantage of CARTO features for spatial data science within your Databricks notebooks
  • 11. CARTO — Unlock the power of spatial analysis Logistics firms can reduce costs & increase visibility by applying spatial analysis to use cases such as: ● Route Optimization ● Pick Up & Drop Off Site Planning ● Fleet Management ● Territory Analysis ● Address Optimization Logistics Replace this image
  • 12. CARTO — Unlock the power of spatial analysis Telcos are leverage Location Intelligence to find new revenues across their business, focusing on use cases such as: ● Data Monetization ● 4G / 5G deployment planning ● Smart Cities and IoT ● Churn Reduction ● Geomarketing ● Site Planning Telcos Replace this image
  • 13. CARTO — Unlock the power of spatial analysis Consumer & investment banks are using spatial analysis for use cases such as: ● Site Selection ● Branch Consolidation ● ATM Location Optimization Credit card providers use spatial analysis for a range of use cases including: ● Data monetization ● Transaction analysis & geocoding ● Consumer profiling Financial Services Replace this image
  • 14. CARTO — Unlock the power of spatial analysis Consumer packaged goods companies use Location Intelligence for: ● Distribution Management ● Supply Chain Network Design ● Geomarketing ● Territory Management ● Customer Behaviour Analytics CPG / FMCG Replace this image
  • 15. CARTO — Unlock the power of spatial analysis A patient’s location directly influences their health. Considering spatial in healthcare analytics can support use cases such as: ● Healthcare Factor Analysis ● Site Planning (for clinics or vaccination centres) ● Territory Management ● Supply Chain Network Design Healthcare & Pharma Replace this image
  • 16. CARTO — Unlock the power of spatial analysis It’s time for a real world example!
  • 17. Feedback Your feedback is important to us. Don’t forget to rate and review the sessions.