SlideShare a Scribd company logo
Developing Spatial
Applications with CARTO for
React v1.1
Follow @CARTO on Twitter
CARTO — Unlock the power of spatial analysis
Introductions
Borja Muñoz
Product Manager at CARTO
Antonio Hita
Solutions Engineer at CARTO
CARTO — Unlock the power of spatial analysis
Agenda
● Introduction to CARTO for React
● New features in version 1.1
● Demo time
● Q&A
CARTO
Customers
Unlock the power of spatial analysis
>2,000
Team members
150+
Contender - LI Wave 2020
CARTO — Unlock the power of spatial analysis
Most organizations are missing an
opportunity...
TREND
80%
of all data collected has a
location component
10%
used to power
business decisions
CARTO — Unlock the power of spatial analysis
We unlock the power of spatial
analysis in the cloud
New End Users
● Business Analysts
● Product Managers
● Data Scientists
● Decision Makers
● Web Developers
● Advanced Analytics
New Data Streams New Use Cases
● Human Mobility
● Weather
● Credit Card Transactions
● IoT Hardware
● Connected Devices
● Census or Open Data
● CRM or Loyalty Data
● Site Selection
● POS Market Analysis
● Territory Design
● Supply Chain Optimization
● Geomarketing
● Data Monetization
CARTO — Unlock the power of spatial analysis
With a fully cloud native platform
CARTO — Unlock the power of spatial analysis
Fully cloud native
Seamlessly interact with data on top of the leading cloud data warehouse
platforms, eliminating ETL complexity and any limits on scalability.
An end-to-end Location Intelligence solution
Connect to data, access spatial data subscriptions, create advanced map
visualizations and run spatial analysis, natively in the cloud environment.
Spatial analytics wherever your data is hosted
Advanced spatial functions, extending the geospatial capabilities available
in cloud data platforms, all executed from within CARTO, using simple SQL
commands.
Rapid spatial app development
For developers, CARTO integrates a complete toolkit of frameworks,
libraries and templates for scalable spatial app development.
A unique Location Intelligence platform
CARTO — Unlock the power of spatial analysis
● Create intuitive, map-centric web applications
quickly using our developer frameworks and
templates.
● With CARTO for deck.gl create scalable
applications to visualize spatial data using
vector technology, fully integrated with Google
Maps.
● Kickstart app development with CARTO for
React, a library of user interface components
and simplified CARTO connections.
● Direct access to technical documentation and
templates, including the latest updates
Developer Tools
CARTO — Unlock the power of spatial analysis
POLL 1
React ……………………………………………………………..
Vue.js ……………………………………………………………..
Angular ……………………………………………………………..
Which frontend frameworks do you use?
No framework / Vanilla JavaScript…………………………………..
CARTO — Unlock the power of spatial analysis
CARTO for React
● Toolbox for programmers for faster development of better map centric
applications.
● Includes a library of UI components based on the CARTO design system
● It is free for anybody to use with CARTO.
● The recommended way to build apps with CARTO.
CARTO — Unlock the power of spatial analysis
Main components
● Create React App templates
○ Base
■ base-2
■ base-3
■ base-3-typescript
○ Sample Apps
■ sample-app-2
■ sample-app-3
● Library
○ API
○ Auth
○ Basemaps
○ Core
○ Redux
○ UI
○ Widgets
○ Workers
CARTO — Unlock the power of spatial analysis
Architecture
● Best practices for building scalable and maintainable spatial web apps
● Not reinvent the wheel, use popular libraries with a huge community behind
CARTO — Unlock the power of spatial analysis
State management
● The goal is to keep all the components (map, layers and widgets) in sync
● One of the most complex issues in spatial web apps development
● Using imperative programming things become unmanageable when the number of
components grow
● Redux provides a central store where you can maintain your application state
● Components that depend on state react to changes:
○ Provides a clean design to update widgets on viewport changes, update layers when
data is filtered using widgets and updating widgets when another widget is filtered
CARTO — Unlock the power of spatial analysis
POLL 2
deck.gl ……………………………………………………………..
Google Maps Javascript API ……………………………..
Mapbox GL JS ……………………………………………………………..
What visualizations libraries do you use for web applications?
ArcGIS API for JavaScript …………………………………………..
Other ……………………………………………………………..
CARTO — Unlock the power of spatial analysis
Visualization
● CARTO for React uses the CARTO module for deck.gl for visualization (CartoLayer)
● You can customize the style using any of the properties available in the GeoJsonLayer
● The CARTO module for deck.gl provides style helpers to easily apply color scales to features
● You can get additional tips in the Customizing the CartoLayer Style guide
● Layers and widgets are linked indirectly through the source
● The CartoLayer and the widgets are prepared to work both with GeoJSON and vector
tiles data sources
CARTO — Unlock the power of spatial analysis
● Base: minimum template with a
blank map and no widgets
● Sample app: template with layers
and widgets to demonstrate how
common spatial web apps
functionalities can be implemented
using CARTO for React
Templates
~ npx create-react-app my-app
--template @carto/base-3
~ npx create-react-app my-app
--template @carto/sample-app-3
CARTO — Unlock the power of spatial analysis
Templates -
Layout
● Responsive design
● Header with the title, links to
the different pages and a user
menu
● Sidebar to display view
content
● Map area for the map and
related floating elements
CARTO — Unlock the power of spatial analysis
Templates - Authentication & Authoriz.
● Works with CARTO platform OAuth
● First create a new app in the CARTO workspace to get a client ID (public identifier)
● Then configure the clientID in the InitialStateSlice
● You can also create applications that are not integrated with the CARTO platform
authentication (public or with their own auth system). You have two options:
○ You can use permanent tokens if you don’t do dynamic queries
○ You can develop your own backend that creates tokens with a
machine-to-machine client ID / client secret pair. More information: API docs
CARTO — Unlock the power of spatial analysis
Library
● Multi-package repo built with Lerna
● Can be used standalone
● Small packages with specific functionality
● React-Redux (with Redux Toolkit) for state management
● Material-UI for user interface components
● ECharts for charts in widgets
● Turf.js for spatial intersections
CARTO — Unlock the power of spatial analysis
Library - Packages
Property Description
@carto/react-api Interaction with CARTO platform APIs (i.e. SQL API) and general functionality.
@carto/react-auth Authentication & Authorization with the CARTO platform using OAuth
@carto/react-basemaps Access to CARTO and Google Maps basemaps
@carto/react-core Core functionality used from other packages
@carto/react-redux State management using Redux Toolkit
@carto/react-ui CARTO theme for Material-UI and user interface components for widgets
@carto/react-widgets Widgets models and business logic
@carto/react-workers Web worker methods for viewport features
CARTO — Unlock the power of spatial analysis
Library - Widgets
CARTO — Unlock the power of spatial analysis
● Based on Hygen
● The fastest way to create new
components
● Views
● Sources
● Layers
Code Generator
~ yarn hygen view new
$ hygen view new
✔ Name: · Places
✔ Route path: · places
✔ Do you want a link in the menu? (y/N) · true
~ yarn hygen source new
$ hygen source new
✔ Name: · Places
✔ Choose type · SQL dataset
✔ Type a query · SELECT * FROM populated_places
~ yarn hygen layer new
$ hygen layer new
✔ Name: · Places
✔ Choose a source · placesSource
✔ Do you want to attach to some view (y/N) · true
✔ Choose a view · Places (views/Places.js)
CARTO — Unlock the power of spatial analysis
Debugging
VS Code + Chrome + 2 extensions
CARTO — Unlock the power of spatial analysis
New templates
● Base JavaScript template for CARTO 3
● Base TypeScript template for CARTO 3
● Sample app template for CARTO 3
New features in
v1.1 (I)
~ npx create-react-app my-app
--template @carto/base-3
~ npx create-react-app my-app
--template @carto/base-3-typescript
~ npx create-react-app my-app
--template @carto/sample-app-3
CARTO — Unlock the power of spatial analysis
New features in v1.1 (II)
New widgets
CARTO — Unlock the power of spatial analysis
New features in v1.1 (III)
Integration with Google Maps vector basemaps
CARTO — Unlock the power of spatial analysis
It’s time for a real world example!
Thanks for listening!
Any questions?
Request a demo at CARTO.COM
Antonio Hita
Solutions Engineer at CARTO // ahita@carto.com
Borja Muñoz
Product Manager at CARTO // bmunoz@carto.com
Ad

More Related Content

What's hot (20)

Contrast enhancement in digital images
Contrast enhancement in digital imagesContrast enhancement in digital images
Contrast enhancement in digital images
Sakher BELOUADAH
 
Gis Project Proposal
Gis Project ProposalGis Project Proposal
Gis Project Proposal
larsonk
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
Joey Li
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS I
John Reiser
 
Web content mining
Web content miningWeb content mining
Web content mining
Akanksha Dombe
 
Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)
esambale
 
Pan sharpening
Pan sharpeningPan sharpening
Pan sharpening
Nadia Aziz
 
Fire Risk Zonation Through Geospatial Modeling.pptx
Fire Risk Zonation Through Geospatial Modeling.pptxFire Risk Zonation Through Geospatial Modeling.pptx
Fire Risk Zonation Through Geospatial Modeling.pptx
sahl_2fast
 
Applications of AI in the geospatial domain
Applications of AI in the geospatial domainApplications of AI in the geospatial domain
Applications of AI in the geospatial domain
Erik Van Der Zee
 
Geo-spatial Analysis and Modelling
Geo-spatial Analysis and ModellingGeo-spatial Analysis and Modelling
Geo-spatial Analysis and Modelling
Malla Reddy University
 
How to Use Geospatial Data to Identify CPG Demnd Hotspots
How to Use Geospatial Data to Identify CPG Demnd HotspotsHow to Use Geospatial Data to Identify CPG Demnd Hotspots
How to Use Geospatial Data to Identify CPG Demnd Hotspots
CARTO
 
Ray tracing
Ray tracingRay tracing
Ray tracing
Yogesh jatin Gupta
 
Introduction of photogrammetry
Introduction of photogrammetryIntroduction of photogrammetry
Introduction of photogrammetry
Jayantha Samarasinghe
 
Spatial data analysis
Spatial data analysisSpatial data analysis
Spatial data analysis
Johan Blomme
 
Geographic information system – an introduction
Geographic information system – an introductionGeographic information system – an introduction
Geographic information system – an introduction
Obli Rajendran VinodhKumar, ICAR- Indian Veterinary Research Institute, Bareilly
 
Imaging cnsfunfalinfections-170112061313
Imaging   cnsfunfalinfections-170112061313Imaging   cnsfunfalinfections-170112061313
Imaging cnsfunfalinfections-170112061313
NeurologyKota
 
Multi spectral imaging
Multi spectral imagingMulti spectral imaging
Multi spectral imaging
Aalaa Khattab
 
Gis dr rahul
Gis dr rahulGis dr rahul
Gis dr rahul
Drrahul Shrivastava
 
Land Information System
Land Information SystemLand Information System
Land Information System
Harithas Aruchchunan
 
GEOGRAPHIC INFORMATION SYSTEM.pdf
GEOGRAPHIC INFORMATION SYSTEM.pdfGEOGRAPHIC INFORMATION SYSTEM.pdf
GEOGRAPHIC INFORMATION SYSTEM.pdf
balaramkumbhakar2
 
Contrast enhancement in digital images
Contrast enhancement in digital imagesContrast enhancement in digital images
Contrast enhancement in digital images
Sakher BELOUADAH
 
Gis Project Proposal
Gis Project ProposalGis Project Proposal
Gis Project Proposal
larsonk
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
Joey Li
 
Data Models - GIS I
Data Models - GIS IData Models - GIS I
Data Models - GIS I
John Reiser
 
Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)Conceptual models of real world geographical phenomena (epm107_2007)
Conceptual models of real world geographical phenomena (epm107_2007)
esambale
 
Pan sharpening
Pan sharpeningPan sharpening
Pan sharpening
Nadia Aziz
 
Fire Risk Zonation Through Geospatial Modeling.pptx
Fire Risk Zonation Through Geospatial Modeling.pptxFire Risk Zonation Through Geospatial Modeling.pptx
Fire Risk Zonation Through Geospatial Modeling.pptx
sahl_2fast
 
Applications of AI in the geospatial domain
Applications of AI in the geospatial domainApplications of AI in the geospatial domain
Applications of AI in the geospatial domain
Erik Van Der Zee
 
How to Use Geospatial Data to Identify CPG Demnd Hotspots
How to Use Geospatial Data to Identify CPG Demnd HotspotsHow to Use Geospatial Data to Identify CPG Demnd Hotspots
How to Use Geospatial Data to Identify CPG Demnd Hotspots
CARTO
 
Spatial data analysis
Spatial data analysisSpatial data analysis
Spatial data analysis
Johan Blomme
 
Imaging cnsfunfalinfections-170112061313
Imaging   cnsfunfalinfections-170112061313Imaging   cnsfunfalinfections-170112061313
Imaging cnsfunfalinfections-170112061313
NeurologyKota
 
Multi spectral imaging
Multi spectral imagingMulti spectral imaging
Multi spectral imaging
Aalaa Khattab
 
GEOGRAPHIC INFORMATION SYSTEM.pdf
GEOGRAPHIC INFORMATION SYSTEM.pdfGEOGRAPHIC INFORMATION SYSTEM.pdf
GEOGRAPHIC INFORMATION SYSTEM.pdf
balaramkumbhakar2
 

Similar to Developing Spatial Applications with CARTO for React v1.1 (20)

Developing Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTODeveloping Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTO
CARTO
 
Scaling Spatial Analytics with Google Cloud & CARTO
Scaling Spatial Analytics with Google Cloud & CARTOScaling Spatial Analytics with Google Cloud & CARTO
Scaling Spatial Analytics with Google Cloud & CARTO
CARTO
 
Crossplane Graduation Review related presentation
Crossplane Graduation Review related presentationCrossplane Graduation Review related presentation
Crossplane Graduation Review related presentation
kedofef453
 
Unlocking Geospatial Analytics Use Cases with CARTO and Databricks
Unlocking Geospatial Analytics Use Cases with CARTO and DatabricksUnlocking Geospatial Analytics Use Cases with CARTO and Databricks
Unlocking Geospatial Analytics Use Cases with CARTO and Databricks
Databricks
 
Tech Talk - Overview of Dash framework for building dashboards
Tech Talk - Overview of Dash framework for building dashboardsTech Talk - Overview of Dash framework for building dashboards
Tech Talk - Overview of Dash framework for building dashboards
Appsilon Data Science
 
Pref Presentation (2)
Pref Presentation (2)Pref Presentation (2)
Pref Presentation (2)
Prachi Patil
 
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARKSCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
zmhassan
 
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F... Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Databricks
 
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO
 
Developing cloud serverless components in Python: DDD Perspective
Developing cloud serverless components in Python: DDD PerspectiveDeveloping cloud serverless components in Python: DDD Perspective
Developing cloud serverless components in Python: DDD Perspective
Asher Sterkin
 
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
Unlock the power of spatial analysis using CARTO and python [CARTOframes]Unlock the power of spatial analysis using CARTO and python [CARTOframes]
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
CARTO
 
Leveraging open source for large scale analytics
Leveraging open source for large scale analyticsLeveraging open source for large scale analytics
Leveraging open source for large scale analytics
South West Data Meetup
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
NETWAYS
 
ChandanResume
ChandanResumeChandanResume
ChandanResume
Chandan Singh
 
Mak product overview_no_video
Mak product overview_no_videoMak product overview_no_video
Mak product overview_no_video
Peter Swan
 
Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...
Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...
Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...
Khai Tran
 
SaurabhKasyap
SaurabhKasyapSaurabhKasyap
SaurabhKasyap
saurabh kasyap
 
CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...
CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...
CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...
Daniel Bryant
 
Keynote: Sensu as a multi-cloud monitoring control plane
Keynote: Sensu as a multi-cloud monitoring control planeKeynote: Sensu as a multi-cloud monitoring control plane
Keynote: Sensu as a multi-cloud monitoring control plane
Sensu Inc.
 
Data Engineer's Lunch #81: Reverse ETL Tools for Modern Data Platforms
Data Engineer's Lunch #81: Reverse ETL Tools for Modern Data PlatformsData Engineer's Lunch #81: Reverse ETL Tools for Modern Data Platforms
Data Engineer's Lunch #81: Reverse ETL Tools for Modern Data Platforms
Anant Corporation
 
Developing Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTODeveloping Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTO
CARTO
 
Scaling Spatial Analytics with Google Cloud & CARTO
Scaling Spatial Analytics with Google Cloud & CARTOScaling Spatial Analytics with Google Cloud & CARTO
Scaling Spatial Analytics with Google Cloud & CARTO
CARTO
 
Crossplane Graduation Review related presentation
Crossplane Graduation Review related presentationCrossplane Graduation Review related presentation
Crossplane Graduation Review related presentation
kedofef453
 
Unlocking Geospatial Analytics Use Cases with CARTO and Databricks
Unlocking Geospatial Analytics Use Cases with CARTO and DatabricksUnlocking Geospatial Analytics Use Cases with CARTO and Databricks
Unlocking Geospatial Analytics Use Cases with CARTO and Databricks
Databricks
 
Tech Talk - Overview of Dash framework for building dashboards
Tech Talk - Overview of Dash framework for building dashboardsTech Talk - Overview of Dash framework for building dashboards
Tech Talk - Overview of Dash framework for building dashboards
Appsilon Data Science
 
Pref Presentation (2)
Pref Presentation (2)Pref Presentation (2)
Pref Presentation (2)
Prachi Patil
 
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARKSCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
zmhassan
 
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F... Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Databricks
 
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO
 
Developing cloud serverless components in Python: DDD Perspective
Developing cloud serverless components in Python: DDD PerspectiveDeveloping cloud serverless components in Python: DDD Perspective
Developing cloud serverless components in Python: DDD Perspective
Asher Sterkin
 
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
Unlock the power of spatial analysis using CARTO and python [CARTOframes]Unlock the power of spatial analysis using CARTO and python [CARTOframes]
Unlock the power of spatial analysis using CARTO and python [CARTOframes]
CARTO
 
Leveraging open source for large scale analytics
Leveraging open source for large scale analyticsLeveraging open source for large scale analytics
Leveraging open source for large scale analytics
South West Data Meetup
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
NETWAYS
 
Mak product overview_no_video
Mak product overview_no_videoMak product overview_no_video
Mak product overview_no_video
Peter Swan
 
Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...
Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...
Conquering the Lambda architecture in LinkedIn metrics platform with Apache C...
Khai Tran
 
CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...
CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...
CloudNativeLondon 2018: "In Search of the Perfect Cloud Native Developer Expe...
Daniel Bryant
 
Keynote: Sensu as a multi-cloud monitoring control plane
Keynote: Sensu as a multi-cloud monitoring control planeKeynote: Sensu as a multi-cloud monitoring control plane
Keynote: Sensu as a multi-cloud monitoring control plane
Sensu Inc.
 
Data Engineer's Lunch #81: Reverse ETL Tools for Modern Data Platforms
Data Engineer's Lunch #81: Reverse ETL Tools for Modern Data PlatformsData Engineer's Lunch #81: Reverse ETL Tools for Modern Data Platforms
Data Engineer's Lunch #81: Reverse ETL Tools for Modern Data Platforms
Anant Corporation
 
Ad

More from CARTO (20)

4 Ways Telecoms are Using GIS & Location Intelligence.pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf4 Ways Telecoms are Using GIS & Location Intelligence.pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
CARTO
 
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdfHow to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
CARTO
 
Understanding Residential Energy Usage with CARTO & Doorda.pdf
Understanding Residential Energy Usage with CARTO & Doorda.pdfUnderstanding Residential Energy Usage with CARTO & Doorda.pdf
Understanding Residential Energy Usage with CARTO & Doorda.pdf
CARTO
 
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
How to Use Spatial Data to Create a Wildfire Risk Index.pdfHow to Use Spatial Data to Create a Wildfire Risk Index.pdf
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
CARTO
 
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
CARTO
 
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Advancing Spatial Analysis in BigQuery using CARTO Analytics ToolboxAdvancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
CARTO
 
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTOCan Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
CARTO
 
Location Intelligence: The Secret Sauce for OOH Advertising
Location Intelligence: The Secret Sauce for OOH AdvertisingLocation Intelligence: The Secret Sauce for OOH Advertising
Location Intelligence: The Secret Sauce for OOH Advertising
CARTO
 
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
CARTO
 
Spatial Analytics in the Cloud Using Snowflake & CARTO
Spatial Analytics in the Cloud Using Snowflake & CARTOSpatial Analytics in the Cloud Using Snowflake & CARTO
Spatial Analytics in the Cloud Using Snowflake & CARTO
CARTO
 
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQueryCARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO
 
What Spatial Analytics Tells Us About the Future of the UK High Street
What Spatial Analytics Tells Us About the Future of the UK High StreetWhat Spatial Analytics Tells Us About the Future of the UK High Street
What Spatial Analytics Tells Us About the Future of the UK High Street
CARTO
 
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Using Spatial Analysis to Drive Post-Pandemic Site Selection in RetailUsing Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
CARTO
 
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
CARTO
 
Using Places (POI) Data for QSR Site Selection
Using Places (POI) Data for QSR Site SelectionUsing Places (POI) Data for QSR Site Selection
Using Places (POI) Data for QSR Site Selection
CARTO
 
5 Ways to Strategize for Emerging Short-Term Rental Trends
5 Ways to Strategize for Emerging Short-Term Rental Trends5 Ways to Strategize for Emerging Short-Term Rental Trends
5 Ways to Strategize for Emerging Short-Term Rental Trends
CARTO
 
Using Location Data to Adapt to the New normal
Using Location Data to Adapt to the New normalUsing Location Data to Adapt to the New normal
Using Location Data to Adapt to the New normal
CARTO
 
Understanding Retail Catchment Areas with Human Mobility Data
Understanding Retail Catchment Areas with Human Mobility DataUnderstanding Retail Catchment Areas with Human Mobility Data
Understanding Retail Catchment Areas with Human Mobility Data
CARTO
 
7 Reasons Why CPG Marketers Are Turning To Location Analytics
7 Reasons Why CPG Marketers Are Turning To Location Analytics7 Reasons Why CPG Marketers Are Turning To Location Analytics
7 Reasons Why CPG Marketers Are Turning To Location Analytics
CARTO
 
Le rôle de l’intelligence géospatiale dans la reprise économique
Le rôle de l’intelligence géospatiale dans la reprise économiqueLe rôle de l’intelligence géospatiale dans la reprise économique
Le rôle de l’intelligence géospatiale dans la reprise économique
CARTO
 
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf4 Ways Telecoms are Using GIS & Location Intelligence.pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
CARTO
 
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdfHow to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
CARTO
 
Understanding Residential Energy Usage with CARTO & Doorda.pdf
Understanding Residential Energy Usage with CARTO & Doorda.pdfUnderstanding Residential Energy Usage with CARTO & Doorda.pdf
Understanding Residential Energy Usage with CARTO & Doorda.pdf
CARTO
 
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
How to Use Spatial Data to Create a Wildfire Risk Index.pdfHow to Use Spatial Data to Create a Wildfire Risk Index.pdf
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
CARTO
 
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
CARTO
 
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Advancing Spatial Analysis in BigQuery using CARTO Analytics ToolboxAdvancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
CARTO
 
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTOCan Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
CARTO
 
Location Intelligence: The Secret Sauce for OOH Advertising
Location Intelligence: The Secret Sauce for OOH AdvertisingLocation Intelligence: The Secret Sauce for OOH Advertising
Location Intelligence: The Secret Sauce for OOH Advertising
CARTO
 
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
CARTO
 
Spatial Analytics in the Cloud Using Snowflake & CARTO
Spatial Analytics in the Cloud Using Snowflake & CARTOSpatial Analytics in the Cloud Using Snowflake & CARTO
Spatial Analytics in the Cloud Using Snowflake & CARTO
CARTO
 
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQueryCARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO Cloud Native – An Introduction to the Spatial Extension for BigQuery
CARTO
 
What Spatial Analytics Tells Us About the Future of the UK High Street
What Spatial Analytics Tells Us About the Future of the UK High StreetWhat Spatial Analytics Tells Us About the Future of the UK High Street
What Spatial Analytics Tells Us About the Future of the UK High Street
CARTO
 
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Using Spatial Analysis to Drive Post-Pandemic Site Selection in RetailUsing Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
CARTO
 
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
CARTO
 
Using Places (POI) Data for QSR Site Selection
Using Places (POI) Data for QSR Site SelectionUsing Places (POI) Data for QSR Site Selection
Using Places (POI) Data for QSR Site Selection
CARTO
 
5 Ways to Strategize for Emerging Short-Term Rental Trends
5 Ways to Strategize for Emerging Short-Term Rental Trends5 Ways to Strategize for Emerging Short-Term Rental Trends
5 Ways to Strategize for Emerging Short-Term Rental Trends
CARTO
 
Using Location Data to Adapt to the New normal
Using Location Data to Adapt to the New normalUsing Location Data to Adapt to the New normal
Using Location Data to Adapt to the New normal
CARTO
 
Understanding Retail Catchment Areas with Human Mobility Data
Understanding Retail Catchment Areas with Human Mobility DataUnderstanding Retail Catchment Areas with Human Mobility Data
Understanding Retail Catchment Areas with Human Mobility Data
CARTO
 
7 Reasons Why CPG Marketers Are Turning To Location Analytics
7 Reasons Why CPG Marketers Are Turning To Location Analytics7 Reasons Why CPG Marketers Are Turning To Location Analytics
7 Reasons Why CPG Marketers Are Turning To Location Analytics
CARTO
 
Le rôle de l’intelligence géospatiale dans la reprise économique
Le rôle de l’intelligence géospatiale dans la reprise économiqueLe rôle de l’intelligence géospatiale dans la reprise économique
Le rôle de l’intelligence géospatiale dans la reprise économique
CARTO
 
Ad

Recently uploaded (20)

Lesson 6-Interviewing in SHRM_updated.pdf
Lesson 6-Interviewing in SHRM_updated.pdfLesson 6-Interviewing in SHRM_updated.pdf
Lesson 6-Interviewing in SHRM_updated.pdf
hemelali11
 
Automated Melanoma Detection via Image Processing.pptx
Automated Melanoma Detection via Image Processing.pptxAutomated Melanoma Detection via Image Processing.pptx
Automated Melanoma Detection via Image Processing.pptx
handrymaharjan23
 
CS-404 COA COURSE FILE JAN JUN 2025.docx
CS-404 COA COURSE FILE JAN JUN 2025.docxCS-404 COA COURSE FILE JAN JUN 2025.docx
CS-404 COA COURSE FILE JAN JUN 2025.docx
nidarizvitit
 
L1_Slides_Foundational Concepts_508.pptx
L1_Slides_Foundational Concepts_508.pptxL1_Slides_Foundational Concepts_508.pptx
L1_Slides_Foundational Concepts_508.pptx
38NoopurPatel
 
Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...
Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...
Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...
Jayantilal Bhanushali
 
problem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursingproblem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursing
vishnudathas123
 
Process Mining as Enabler for Digital Transformations
Process Mining as Enabler for Digital TransformationsProcess Mining as Enabler for Digital Transformations
Process Mining as Enabler for Digital Transformations
Process mining Evangelist
 
AWS-Certified-ML-Engineer-Associate-Slides.pdf
AWS-Certified-ML-Engineer-Associate-Slides.pdfAWS-Certified-ML-Engineer-Associate-Slides.pdf
AWS-Certified-ML-Engineer-Associate-Slides.pdf
philsparkshome
 
文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询
文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询
文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询
Taqyea
 
Transforming health care with ai powered
Transforming health care with ai poweredTransforming health care with ai powered
Transforming health care with ai powered
gowthamarvj
 
HershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistributionHershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistribution
hershtara1
 
Understanding Complex Development Processes
Understanding Complex Development ProcessesUnderstanding Complex Development Processes
Understanding Complex Development Processes
Process mining Evangelist
 
Publication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdf
Publication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdfPublication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdf
Publication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdf
StatsCommunications
 
RAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit FrameworkRAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit Framework
apanneer
 
50_questions_full.pptxdddddddddddddddddd
50_questions_full.pptxdddddddddddddddddd50_questions_full.pptxdddddddddddddddddd
50_questions_full.pptxdddddddddddddddddd
emir73065
 
How to Set Up Process Mining in a Decentralized Organization?
How to Set Up Process Mining in a Decentralized Organization?How to Set Up Process Mining in a Decentralized Organization?
How to Set Up Process Mining in a Decentralized Organization?
Process mining Evangelist
 
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
disnakertransjabarda
 
report (maam dona subject).pptxhsgwiswhs
report (maam dona subject).pptxhsgwiswhsreport (maam dona subject).pptxhsgwiswhs
report (maam dona subject).pptxhsgwiswhs
AngelPinedaTaguinod
 
AWS Certified Machine Learning Slides.pdf
AWS Certified Machine Learning Slides.pdfAWS Certified Machine Learning Slides.pdf
AWS Certified Machine Learning Slides.pdf
philsparkshome
 
Controlling Financial Processes at a Municipality
Controlling Financial Processes at a MunicipalityControlling Financial Processes at a Municipality
Controlling Financial Processes at a Municipality
Process mining Evangelist
 
Lesson 6-Interviewing in SHRM_updated.pdf
Lesson 6-Interviewing in SHRM_updated.pdfLesson 6-Interviewing in SHRM_updated.pdf
Lesson 6-Interviewing in SHRM_updated.pdf
hemelali11
 
Automated Melanoma Detection via Image Processing.pptx
Automated Melanoma Detection via Image Processing.pptxAutomated Melanoma Detection via Image Processing.pptx
Automated Melanoma Detection via Image Processing.pptx
handrymaharjan23
 
CS-404 COA COURSE FILE JAN JUN 2025.docx
CS-404 COA COURSE FILE JAN JUN 2025.docxCS-404 COA COURSE FILE JAN JUN 2025.docx
CS-404 COA COURSE FILE JAN JUN 2025.docx
nidarizvitit
 
L1_Slides_Foundational Concepts_508.pptx
L1_Slides_Foundational Concepts_508.pptxL1_Slides_Foundational Concepts_508.pptx
L1_Slides_Foundational Concepts_508.pptx
38NoopurPatel
 
Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...
Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...
Day 1 MS Excel Basics #.pptxDay 1 MS Excel Basics #.pptxDay 1 MS Excel Basics...
Jayantilal Bhanushali
 
problem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursingproblem solving.presentation slideshow bsc nursing
problem solving.presentation slideshow bsc nursing
vishnudathas123
 
Process Mining as Enabler for Digital Transformations
Process Mining as Enabler for Digital TransformationsProcess Mining as Enabler for Digital Transformations
Process Mining as Enabler for Digital Transformations
Process mining Evangelist
 
AWS-Certified-ML-Engineer-Associate-Slides.pdf
AWS-Certified-ML-Engineer-Associate-Slides.pdfAWS-Certified-ML-Engineer-Associate-Slides.pdf
AWS-Certified-ML-Engineer-Associate-Slides.pdf
philsparkshome
 
文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询
文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询
文凭证书美国SDSU文凭圣地亚哥州立大学学生证学历认证查询
Taqyea
 
Transforming health care with ai powered
Transforming health care with ai poweredTransforming health care with ai powered
Transforming health care with ai powered
gowthamarvj
 
HershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistributionHershAggregator (2).pdf musicretaildistribution
HershAggregator (2).pdf musicretaildistribution
hershtara1
 
Publication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdf
Publication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdfPublication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdf
Publication-launch-How-is-Life-for-Children-in-the-Digital-Age-15-May-2025.pdf
StatsCommunications
 
RAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit FrameworkRAG Chatbot using AWS Bedrock and Streamlit Framework
RAG Chatbot using AWS Bedrock and Streamlit Framework
apanneer
 
50_questions_full.pptxdddddddddddddddddd
50_questions_full.pptxdddddddddddddddddd50_questions_full.pptxdddddddddddddddddd
50_questions_full.pptxdddddddddddddddddd
emir73065
 
How to Set Up Process Mining in a Decentralized Organization?
How to Set Up Process Mining in a Decentralized Organization?How to Set Up Process Mining in a Decentralized Organization?
How to Set Up Process Mining in a Decentralized Organization?
Process mining Evangelist
 
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...
disnakertransjabarda
 
report (maam dona subject).pptxhsgwiswhs
report (maam dona subject).pptxhsgwiswhsreport (maam dona subject).pptxhsgwiswhs
report (maam dona subject).pptxhsgwiswhs
AngelPinedaTaguinod
 
AWS Certified Machine Learning Slides.pdf
AWS Certified Machine Learning Slides.pdfAWS Certified Machine Learning Slides.pdf
AWS Certified Machine Learning Slides.pdf
philsparkshome
 
Controlling Financial Processes at a Municipality
Controlling Financial Processes at a MunicipalityControlling Financial Processes at a Municipality
Controlling Financial Processes at a Municipality
Process mining Evangelist
 

Developing Spatial Applications with CARTO for React v1.1

  • 1. Developing Spatial Applications with CARTO for React v1.1 Follow @CARTO on Twitter
  • 2. CARTO — Unlock the power of spatial analysis Introductions Borja Muñoz Product Manager at CARTO Antonio Hita Solutions Engineer at CARTO
  • 3. CARTO — Unlock the power of spatial analysis Agenda ● Introduction to CARTO for React ● New features in version 1.1 ● Demo time ● Q&A
  • 4. CARTO Customers Unlock the power of spatial analysis >2,000 Team members 150+ Contender - LI Wave 2020
  • 5. CARTO — Unlock the power of spatial analysis Most organizations are missing an opportunity... TREND 80% of all data collected has a location component 10% used to power business decisions
  • 6. CARTO — Unlock the power of spatial analysis We unlock the power of spatial analysis in the cloud New End Users ● Business Analysts ● Product Managers ● Data Scientists ● Decision Makers ● Web Developers ● Advanced Analytics New Data Streams New Use Cases ● Human Mobility ● Weather ● Credit Card Transactions ● IoT Hardware ● Connected Devices ● Census or Open Data ● CRM or Loyalty Data ● Site Selection ● POS Market Analysis ● Territory Design ● Supply Chain Optimization ● Geomarketing ● Data Monetization
  • 7. CARTO — Unlock the power of spatial analysis With a fully cloud native platform
  • 8. CARTO — Unlock the power of spatial analysis Fully cloud native Seamlessly interact with data on top of the leading cloud data warehouse platforms, eliminating ETL complexity and any limits on scalability. An end-to-end Location Intelligence solution Connect to data, access spatial data subscriptions, create advanced map visualizations and run spatial analysis, natively in the cloud environment. Spatial analytics wherever your data is hosted Advanced spatial functions, extending the geospatial capabilities available in cloud data platforms, all executed from within CARTO, using simple SQL commands. Rapid spatial app development For developers, CARTO integrates a complete toolkit of frameworks, libraries and templates for scalable spatial app development. A unique Location Intelligence platform
  • 9. CARTO — Unlock the power of spatial analysis ● Create intuitive, map-centric web applications quickly using our developer frameworks and templates. ● With CARTO for deck.gl create scalable applications to visualize spatial data using vector technology, fully integrated with Google Maps. ● Kickstart app development with CARTO for React, a library of user interface components and simplified CARTO connections. ● Direct access to technical documentation and templates, including the latest updates Developer Tools
  • 10. CARTO — Unlock the power of spatial analysis POLL 1 React …………………………………………………………….. Vue.js …………………………………………………………….. Angular …………………………………………………………….. Which frontend frameworks do you use? No framework / Vanilla JavaScript…………………………………..
  • 11. CARTO — Unlock the power of spatial analysis CARTO for React ● Toolbox for programmers for faster development of better map centric applications. ● Includes a library of UI components based on the CARTO design system ● It is free for anybody to use with CARTO. ● The recommended way to build apps with CARTO.
  • 12. CARTO — Unlock the power of spatial analysis Main components ● Create React App templates ○ Base ■ base-2 ■ base-3 ■ base-3-typescript ○ Sample Apps ■ sample-app-2 ■ sample-app-3 ● Library ○ API ○ Auth ○ Basemaps ○ Core ○ Redux ○ UI ○ Widgets ○ Workers
  • 13. CARTO — Unlock the power of spatial analysis Architecture ● Best practices for building scalable and maintainable spatial web apps ● Not reinvent the wheel, use popular libraries with a huge community behind
  • 14. CARTO — Unlock the power of spatial analysis State management ● The goal is to keep all the components (map, layers and widgets) in sync ● One of the most complex issues in spatial web apps development ● Using imperative programming things become unmanageable when the number of components grow ● Redux provides a central store where you can maintain your application state ● Components that depend on state react to changes: ○ Provides a clean design to update widgets on viewport changes, update layers when data is filtered using widgets and updating widgets when another widget is filtered
  • 15. CARTO — Unlock the power of spatial analysis POLL 2 deck.gl …………………………………………………………….. Google Maps Javascript API …………………………….. Mapbox GL JS …………………………………………………………….. What visualizations libraries do you use for web applications? ArcGIS API for JavaScript ………………………………………….. Other ……………………………………………………………..
  • 16. CARTO — Unlock the power of spatial analysis Visualization ● CARTO for React uses the CARTO module for deck.gl for visualization (CartoLayer) ● You can customize the style using any of the properties available in the GeoJsonLayer ● The CARTO module for deck.gl provides style helpers to easily apply color scales to features ● You can get additional tips in the Customizing the CartoLayer Style guide ● Layers and widgets are linked indirectly through the source ● The CartoLayer and the widgets are prepared to work both with GeoJSON and vector tiles data sources
  • 17. CARTO — Unlock the power of spatial analysis ● Base: minimum template with a blank map and no widgets ● Sample app: template with layers and widgets to demonstrate how common spatial web apps functionalities can be implemented using CARTO for React Templates ~ npx create-react-app my-app --template @carto/base-3 ~ npx create-react-app my-app --template @carto/sample-app-3
  • 18. CARTO — Unlock the power of spatial analysis Templates - Layout ● Responsive design ● Header with the title, links to the different pages and a user menu ● Sidebar to display view content ● Map area for the map and related floating elements
  • 19. CARTO — Unlock the power of spatial analysis Templates - Authentication & Authoriz. ● Works with CARTO platform OAuth ● First create a new app in the CARTO workspace to get a client ID (public identifier) ● Then configure the clientID in the InitialStateSlice ● You can also create applications that are not integrated with the CARTO platform authentication (public or with their own auth system). You have two options: ○ You can use permanent tokens if you don’t do dynamic queries ○ You can develop your own backend that creates tokens with a machine-to-machine client ID / client secret pair. More information: API docs
  • 20. CARTO — Unlock the power of spatial analysis Library ● Multi-package repo built with Lerna ● Can be used standalone ● Small packages with specific functionality ● React-Redux (with Redux Toolkit) for state management ● Material-UI for user interface components ● ECharts for charts in widgets ● Turf.js for spatial intersections
  • 21. CARTO — Unlock the power of spatial analysis Library - Packages Property Description @carto/react-api Interaction with CARTO platform APIs (i.e. SQL API) and general functionality. @carto/react-auth Authentication & Authorization with the CARTO platform using OAuth @carto/react-basemaps Access to CARTO and Google Maps basemaps @carto/react-core Core functionality used from other packages @carto/react-redux State management using Redux Toolkit @carto/react-ui CARTO theme for Material-UI and user interface components for widgets @carto/react-widgets Widgets models and business logic @carto/react-workers Web worker methods for viewport features
  • 22. CARTO — Unlock the power of spatial analysis Library - Widgets
  • 23. CARTO — Unlock the power of spatial analysis ● Based on Hygen ● The fastest way to create new components ● Views ● Sources ● Layers Code Generator ~ yarn hygen view new $ hygen view new ✔ Name: · Places ✔ Route path: · places ✔ Do you want a link in the menu? (y/N) · true ~ yarn hygen source new $ hygen source new ✔ Name: · Places ✔ Choose type · SQL dataset ✔ Type a query · SELECT * FROM populated_places ~ yarn hygen layer new $ hygen layer new ✔ Name: · Places ✔ Choose a source · placesSource ✔ Do you want to attach to some view (y/N) · true ✔ Choose a view · Places (views/Places.js)
  • 24. CARTO — Unlock the power of spatial analysis Debugging VS Code + Chrome + 2 extensions
  • 25. CARTO — Unlock the power of spatial analysis New templates ● Base JavaScript template for CARTO 3 ● Base TypeScript template for CARTO 3 ● Sample app template for CARTO 3 New features in v1.1 (I) ~ npx create-react-app my-app --template @carto/base-3 ~ npx create-react-app my-app --template @carto/base-3-typescript ~ npx create-react-app my-app --template @carto/sample-app-3
  • 26. CARTO — Unlock the power of spatial analysis New features in v1.1 (II) New widgets
  • 27. CARTO — Unlock the power of spatial analysis New features in v1.1 (III) Integration with Google Maps vector basemaps
  • 28. CARTO — Unlock the power of spatial analysis It’s time for a real world example!
  • 29. Thanks for listening! Any questions? Request a demo at CARTO.COM Antonio Hita Solutions Engineer at CARTO // ahita@carto.com Borja Muñoz Product Manager at CARTO // bmunoz@carto.com
  翻译: