Supply chain analytics to combat the effects of Ukraine-Russia-conflict
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
1. How to Analyze & Optimize
Mobility with Geospatial Data
Follow @CARTO on Twitter
2. CARTO — Unlock the power of spatial analysis
Introductions
Oleksii Bielov
Product Manager at Snowflake
Tomas Ehrenfeld
Solutions Engineer at CARTO
3. CARTO — Unlock the power of spatial analysis
Agenda
● Snowflake introduction and overview
● CARTO Platform overview
● Working with geometries on Snowflake
● Ride Hailing use case
● CARTO Spatial Analytics Demo
● Other mobility use cases leveraged by CARTO
● Q&A
4. CARTO — Unlock the power of spatial analysis
Snowflake Overview
6. CARTO — Unlock the power of spatial analysis
2022
The Snowflake
Data Cloud
PLATFORM
+
CONTENT
Applications Customer
Data
3rd Party
Data
Data
Services
SaaS
Data
Partner
Data
7. CARTO — Unlock the power of spatial analysis
Snowflake Platform
7
GEOGRAPHY Type
60+ native functions
Fast GEO JOINS
Join on INTERSECTS,
DWITHIN, CONTAINS ..
SNOWPARK UDFs
Python, Java, Scala ..
execution
environment
Native DATA APPS
Framework to build
data-intensive apps
Enabling Geospatial Analytics
8. CARTO — Unlock the power of spatial analysis
The (Geo-) Data Cloud Today
THOUSANDS OF
ORGANIZATIONS
COLLABORATING
WITH THEIR
ECOSYSTEM
A software company runs and
distributes their application to
hundreds of customers
125+ Location-aware Datasets live
on Snowflake Marketplace from data
providers, incl. demographics, traffic,
weather, addresses, POI ..
Datasets purchased and accessed
immediately without data pipelines
Collaborate with defined groups of
suppliers, partners, or other
business units
1000s of Organizations collaborating, 125+ Geo-Datasets on Marketplace
9. CARTO — Unlock the power of spatial analysis
What’s New?
FAST GEO SEARCH
(Preview)
GEOMETRY TYPE
(Preview)
10. CARTO — Unlock the power of spatial analysis
Models Earth as a Cartesian Plane
Supports many Spatial Reference Systems
In Public Preview Now
Geometry
Models Earth as a Sphere
Supports WGS84 (4326) SRS
In General Availability since 2021
Geography
SRID: 2163
“U.S. National Atlas Equal
Area”
SRID: 3395
“Mercator”
SRID: 4326
“WGS84”
SRID: 2955
“UTM Zone 11N”
GEOMETRY Data Type
11. CARTO — Unlock the power of spatial analysis
FAST SEARCH for GEO
Quickly find objects by their coordinates while using a bounding box or point
lookup search
SELECT coord FROM geotable g WHERE
ST_INTERSECTS(geo_boundary,g.coord)
CARTO pushed down dynamic map vector
tile rendering directly to Snowflake.
Latency of searches using geo predicates
went from 10s to ~1s
12. CARTO — Unlock the power of spatial analysis
Introducing cloud native CARTO
CARTO brings together
cloud connectivity,
visualization, spatial
analysis and
development
capabilities in a unified
workspace.
13. CARTO — Unlock the power of spatial analysis
+100 advanced functions
Our Analytics Toolbox unlocks more
than 100 advanced spatial functions
using an ever-increasing set of User
Defined Functions (UDFs).
These routines cover a broad range of
spatial use cases and include data
transformations, spatial indexing for
Quadkey, S2 and H3, and advanced
functions to carry out geocoding,
clustering, route calculations, and more.
CARTO Analytics Toolbox
14. CARTO — Unlock the power of spatial analysis
Demo
DYNAMIC (SURGE) PRICING
FOR RIDE-HAILING APPS
15. CARTO — Unlock the power of spatial analysis
Dynamic Pricing for Ride-Hailing Apps
Adjust price to increased demand or shortage in supply
QUOTE
Proposed price for a given user route
(from, to, time)
RIDE
Completed booking
BOOKING
Driver confirms the request
REQUEST
User accepts a quote,
we send it to drivers
16. CARTO — Unlock the power of spatial analysis
Data Aggregation
Bucketed in H3 hexagons
17. CARTO — Unlock the power of spatial analysis
Data Aggregation
Bucketed in H3 hexagons
Estimated Time of Arrival (ETA)
Available Drivers
Quotes | Requests | Bookings | Tours
18. CARTO — Unlock the power of spatial analysis
Data Aggregation
Quotes: 10
Requests: 3
Drivers: 1
ETA: 3 min
Quotes: 10
Bookings: 1
Drivers: 0
ETA: 4 min
Quotes: 15
Requests: 6
Drivers: 1
ETA: 4 min
Quotes: 10
Requests: 3
Drivers: 1
ETA: 4 min
Quotes: 20
Requests: 3
Drivers: 1
ETA: 6 min
Quotes: 10
Requests: 3
Drivers: 1
ETA: 4 min
Stats by H3 hexagon
Bucketed in H3 hexagons
Quotes: 15
Requests: 6
Drivers: 1
ETA: 4 min
Quotes: 10
Requests: 3
Drivers: 1
ETA: 3 min
Quotes: 10
Bookings: 1
Drivers: 0
ETA: 4 min
Estimated Time of Arrival (ETA)
Available Drivers
Quotes | Requests | Bookings | Tours
19. CARTO — Unlock the power of spatial analysis
Data Pipeline
21. CARTO — Unlock the power of spatial analysis
Using CARTO to…
● Learn where to expand their restaurant
offering
● Understand how to conduct true
geographic segmentation
● Explore how to create super granular
marketing campaigns for various
neighborhoods
● Optimize routes to user’s addresses
● Stack orders more efficiently
Other mobility use cases leveraged by CARTO
Hyperlocal & data-driven expansion, consumer segmentation & route optimization strategies
CARTO’s Spatial Extension for Snowflake allows Deliveroo to run advanced spatial
analytics directly in Snowflake.
22. Thanks for listening!
Any questions?
Request a demo at CARTO.COM
Tomas Ehrenfeld
Solutions Engineer // tehrenfeld@cartodb.com
Oleksii Bielov
Product Manager // oleksii.bielov@snowflake.com