You are on page 1of 37

Improve Efficiency by Extending Transactional and Analytical

Applications with SAP HANA Spatial Capabilities

Balaji Krishna, SAP Labs

SESSION CODE: BI473

LEARNING POINTS
Learn how Spatial context adds a new dimension
to Analytics
How to combine Business and Spatial data to
build rich geo applications
Use Spatial ecosystem with SAP HANA to
develop IoT apps

AgendaAgenda
Introduction to Spatial at SAP

Spatial Processing with SAP HANA


SAP HANA & GIS Partner Interoperability Patterns

Customer Use Cases

Rethink the future with Spatial


Competing in todays marketplace means leveraging all types of data
In a world of accelerated change, businesses need to transform customer engagements from transactions to
individual interaction & experiences

80%

of all data contains


some reference to
geography*

50B

Internet
connected devices
by 2018**

* Franklin, Carl and Paula Hane, An introduction to GIS: linking maps to databases,
** Ciscos Internet Business Solutions Group (IBSG), The Internet of Things

90%

of all mobile devices are


location-aware*

Spatial Processing with SAP HANA


Improves the value of business data by.

Enriching it with

geographical context
Visualizing its

shape & form


Presenting it

in real-time

The challenge
Silos of information create an incomplete picture

Business
Applications

Geographic Information
Systems(GIS)

Engineering
Systems

Transactional data

Geographical data

Diagrams

Master data

Location-based data

2D/3D graphs

Analytical data

Maps and topologies

Animations

The Solution
SAP HANA Platform for Spatial Processing
Geo-enable enterprise data & provide a real-time location
intelligence platform with SAP HANA
SAP HANA Platform

Spatial Data SAP


Types

HANA
Application
Services

Integration
Services

Spatial
Functions
Spatial Content

Transaction
Data

Unstructured
Data

Clustering
Mapping
Services

Geocoding

Location
Data

Machine
Data

Unified platform for geo-enriching business data and accelerating spatial processing

Why spatial processing with SAP HANA?


Gain competitive advantage by uncovering new insights

New
Deeper Insights

Faster and
Better Decision-making

Streamlined
Processes

Gain deeper insights by combining


business data with geographical
data

Distill lots of data on a visually


intuitive mapping interface to
uncover an actionable insight

Realize operational efficiencies by


streamlining business, spatial, visual
data processing

Identify new opportunities and


root causes by leveraging spatiallyenabled business applications on
the platform

Drastically compress decisionmaking cycles using highperformance spatial functions on


the SAP HANA in-memory
platform

Seamless deployment of geocontent and services

AgendaAgenda
Introduction to Spatial at SAP

Spatial Processing with SAP HANA


SAP HANA & GIS Partner Interoperability Patterns

Customer Use Cases

Spatial 101 Demystifying Geospatial


Be the Smartest Person in the Room and Know These Key Terms

OGC Open Geospatial Consortium International standards organization for geospatial

Base maps Spatial data sets that provide the background upon which more specific thematic data is overlaid and analyzed. Usually applied to
those sources of information about relatively permanent features including topography, soil data, geology, cadastral divisions, and political
divisions. Think Google Maps.

Layers Sets of geometries that represent a common theme (e.g. houses, parcels, customers, stores, roads, counties, etc.)

Spatial Data Type Refers to a specific data type that indicates spatially relevant data will be loaded and processed (ST_POINT &
ST_GEOMETRY). In SAP HANA these are native functions built deep in the processing engine (index server).

Spatial Function Refers to specific spatial functions to process spatially relevant data (measures, relationships, operators, and attributes)

Vector Data Points, lines, and polygons

SRID Spatial Reference ID Is a unique value used to identify projected, unprojected, and local spatial coordinate system definitions

Esri Software vendor and leader in GIS/spatial analytics

Shapefile standard file format for transferring geometries from one system to another (Esri standard)

Geodatabase Commonly used database system for creating, editing, publishing, and versioning of map data for Esri

Query Layer a native Esri capability to connect to and query external data sources

Safe/FME Software vendor and leader in spatial ETL

Spatial 101 Demystifying Geospatial


Putting It All Together

Enterprise Data

Natural &
political
boundaries

Demographics

Assets

Base maps + layer(s)

Pan / zoom / explore

Use map to filter and calculate

Can be viewed on a map or just a


result to query

Base Maps

Data Layers

IoT

Commodity

Nokia, Google, Microsoft, Esri

GIS

Enterprise

Cloud & on-premise

Spatial adds a new dimension to business data


Assets & Work
Management

Business
Intelligence

APPLICATION AREAS
CIS/CRM

Mobility

Real
Estate

Environmental
Health and Safety

INDUSTRIES
Financial &
Insurance Services

Retail &
Consumer Products

Telecommunications

Public Sector
& Healthcare

O&G, Manufacturing
& Utilities

SAP HANA WITH SPATIAL PROCESSING


Provides the ability to Goes beyond just
answer an entirely
postal/zip codes for
new set of business
precise location
questions with an
intelligence
additional location
dimension

Processes spatial data


GIS (Geospatial Information Systems) are
types and business data
becoming more common in most
rapidly to deliver results to
organizations and industries. The benefits
applications and BI tools in
include:
the form maps, reports
Cost Savings and Increased Efficiency
Better Decision Making
and charts

Improved Communication , Better Record Keeping

Managing Geographically

Spatial Adds a New Dimension to Solutions


Example Use Cases by Industry
Retail and Consumer Products

Financial and Insurance Services

O&G, Manufacturing & Utilities

Who are my most profitable customers 5 miles


from each store and within my competitors
region?

Is there fraud being committed in the disaster


zone?

Find all assets that are within x meters of the


building

Is the credit card stolen based on the location


of the transaction?

Find the hazards that are within 20 meters of


the substation or rig

Is insurance fraud being committed at this


property?
Where should we locate the branch/ATM?

What assets will be affected by natural


hazards (fire, wind, flood, hurricane,
earthquake, dust)?

Should we write insurance for this property


parcel?

Identify the precise location for the


drilling/excavation

What policies are in the hurricane path and


what is our risk?

Identify all the components that touch or


overlap the defective part and their inventory
levels and quality scores.

What are the 3 closest stores to this important


customer?
What stores are in the hurricane path and how
much inventory is at risk?
Where should we locate the store/kiosk?
Which customers should I target the new offer
to that are within 2 minutes driving time to

each store?

Public Sector & Healthcare

Is public assistance fraud being committed at this specific


location?

What are the health-care and medicare coverage areas in


the low income areas?
What are the risks for the motorcade route?

Transportation planning and analysis


Where are the most crimes being committed?

Telecommunications

Where should we locate the cell tower?

What telecommunication assets are within the


predicted flood zone?

Make an offer to the subscriber based on their


current geospatial location

Identify dead-zones based on detailed call


records

What components are within 9nm that are


causing the product shrinkage?

What value can HANA provide to spatial?


In-memory computing is a technology that analyzes massive quantities of data in local memory so that the
results of complex analyzes and transactions are available at your fingertips and business decisions can be executed
without delay
Gain real-time insight know it when and where it happens
Go deeper ask any question on any data
Act broadly manage large volumes of data
Run faster analyze at the speed of thought
Get flexibility eliminate prefabrication requirements

In-Memory Spatial Benefits:

In-memory, columnar based spatial searching and processing for high speed analysis and visualization

High performing platform for both business (operational, finance, marketing, sales, engineering) and spatial data

Ability to provide both location/business intelligence (analytics) as well as transactional capabilities (OLTP)

What is a spatially enabled database?


Key capabilities delivered in SAP HANA

Store, process, manipulate, share, analyze, and retrieve spatial data directly in the database

Implements the ISO/IEC 13249-3 standard and Open Geospatial Consortium (Simple Features
Specificaiton SQL Types and Functions) & 1999 SQL/MM standard

point

line

Process spatial vector data with spatial analytic functions:

Measurements
distance, surface, area, perimeter, volume
Relationships
intersects, contains, within, adjacent, touches
Operators
buffer, transform
Attributes
types, number of points

High-performance clustering & joins

Geo-content & Services

polygon

Multi-polygon

SAP HANA Platform More than just a database


SAP Business Suite and BW
ABAP App Server

Any Apps

Any App Server

HANA Platform
SQL, SQLScript, JavaScript

Supports any Device


Spatial

Search

Text
Analysis & Mining

Stored Procedure
& Data Models

Application &
UI Services

Business Function
Library

Predictive Analysis
Library

Database
Services

Graph
Engine

Rules
Engine

Integration & Streaming Services

Transaction

Unstructured

SAP HANA is the platform for


ALL Applications

Machine

HADOOP

Real-time

Location

Other Apps

Supports any application

A true platform

60% of HANA use cases are outside of the SAP


Landscape
1,600+ start-ups & ISVs developing on HANA

Converged OTLP + OLAP


Embedded business logic
Native data services

SAP HANA
Spatial Differentiation
Real-time Spatial Processing
Analyze massive amounts of spatial data in seconds on a real-time in-memory platform

New Location Dimension


Combine and analyze spatial information with business, operational, and other critical
enterprise data in one platform

Spatial Data

Marketing
Data

Simpler

Unified Modeling Platform


Perform analytics, text search, text analysis, predictive, and spatial analysis in oneSmarter
model

Business
Data
Operational
Data

Spatial Performance Innovations


Optimized in-memory and column-store architecture significantly improves spatial
search & analysis performance and reduces need for spatial data maintenance

Geo-content & Services and Application Development Platform


Includes geo-content and mapping services as well as native application development
platform for quicker geospatial application creation and deployment

Faster

Spatial Processing with SAP HANA


Gain competitive advantage by uncovering new insights with native spatial processing
Mobility

Visualization

Analytics

HTML 5

GIS

Applications

SAP HANA
Business Data

Geo Services

Geo Content

- Geocoding
- Base maps

- Political
Boundaries
- POIs
- Roads

Transaction
Data
Real-time Spatial Processing

High-performance algorithms analyze


massive amounts of spatial data in realtime

Spatial Data

Columnar
Spatial
Processing
- Clustering

Unstructured
Data

Spatial Analytics Optimization

Columnar storage architecture eliminates


need to create spatial indexes, tessellation, or
other optimization techniques.

Spatial Processing
Real-time Data

Calc Model /
Views

Spatial
Functions

Spatial Data
Types

- Joins
- Views

- Area
- Distance
- Within

- Points

Location Data

Spatial Data Types & Functions


Store, process, manipulate, share and
retrieve spatial data directly in the
database

- Lines
- Polygons

Machine
Data
Geo-content & services

Maps, geo-content and geospatial services


open integration for seamless application
development and deployment

SAP HANA Spatial Ecosystem


Analytics

Visualization

Applications

Interfaces / Services

Data Integration Tools

SAP Info Access


(HTML5)

Mobility

odbc, jdbc, XS (InA, geoJSON, API, ODATA)


SQL /
Calculation Models

Data Access
SAP HANA
(OGC Compliant)

GIS

Types & Functions:


Engines:
Point
Clustering
Indexserver
Linestring
Spatial Joins
Calc
Polygon
Geo-Hierarchies Spatial
SRID metadata
Attribute
Spatial function library
XS
Load tools:
Geospatial Import/Export:
SAP Data Services
Shapefile, csv, binary
SAP Event Stream Processor
WKT / WKB Support
Third Party ETL

Geo-Services:
Geoservices
Geocontent

Views:
Analytical
Attribute
Calculation

Data Sources
SAP Data

2014 SAP SE. All rights reserved.

Non-SAP Data

Spatial Data

Real-Time Data

GIS

19

Spatial Processing Architecture


SAP HANA Spatial Capabilities:

Supports:

2D Vector Types
Points, line-strings, polygons, compound polygons
Spatial functions
SRID (Spatial Reference IDs)
Application development on XS with geo-content
and mapping services

New spatial data types (ST_POINT & ST_GEOMETRY)


Optimized data types for spatial
Extended SAP HANA SQL with spatial functions
Columnar storage of spatial data
Native spatial engine as part of Index Server
Access via SQL or Calculation Models/Views

Sample usage of Spatial in HANA


Spatial data types

SQL Syntax to retrieve spatial data

SAP HANA Spatial Application Development


Quickly develop and deploy SAP HANA based spatial applications
via the native XS engine
HTML5
Application

iPad/
Browser
SAP HANA XS
Spatial
Engine

Maps

Geocoding

Capabilities:
Allows for visualization, interaction, and exploration
of spatial data in SAP HANA via maps
Supports HTML5 deployments for browser or iPad
Consumes SAP HANA models

Benefits:

Geocontent

SAP
HANA

Services

Location
Services

Quick development and deployment time


Low TCO & TCD and fast response times with 2-tier
architecture
Interoperates with third-party mapping services

Building a Native Spatial Application in SAP HANA with XS and Mapping


Content & Services
Create Model

Use HANA Studio to create spatial tables,


define the data model, and create views
(spatial and non-spatial)

Load Spatial
Data

Load spatial data (geocoded / x y) and


applicable spatial content (POI, road
networks, and political boundaries)

Configure XS

Configure XS by connecting to map services


and create query services

Configure
App
Deploy

Configure application UI and behavior


Perform real-time interaction with spatial
and non-spatial data via map (zoom/pan,
filter, drag, create polygons)

<script charset="utf-8"
type="text/javascript"
src="http://api.maps.noki
a.com/2.2.3/jsl.js?with=m
aps"> <script
charset="utf-8"
type="text/javascript"
src="/sap/hana/geo/mapP
rovider/baseMapProvide
r.js"> <script
type="text/javascript">

Geospatial Content & Mapping Services


Accelerating SAP HANA Spatial Solution Development

To accelerate and simplify spatial application & solution


development, SAP HANA also provides geo-content and services

Geo-content includes boundary files representing geometries of


continents to postal codes, which can be used in a SAP HANA
spatial analysis

Mapping services include base maps, which can be used as part of


the user-interface of an application/solution built in SAP HANA

These content and services can be downloaded from SAP Service


Marketplace

SAP HANA Interactive Education (SHINE)


SAP HANA Spatial Content

SAP HANA Interactive Education (SHINE) enables a baseline model which


can be used in SAP educational materials and which customers and partners can
use for self study

Offers as a source of best practice implementation examples, improving the quality


of customer and partner content

Includes a data model and content for spatial use cases to enable customers
and partners to learn how to enhance their existing models with spatial data
types and functions

Spatial use case includes data, spatial functions, and building a XS based
application for visualization and interaction

SHINE models and content are free and can be downloaded from the SAP
Service Marketplace

Spatial Processing with SAP HANA


Product feature overview & vision key themes and capabilities
Native spatial vector data types and
functions (based on OGC and SQL/MM)

Performance optimization & spatial join


enhancements

Spatial data import & export capability

New and enhanced spatial data types,


operators & functions

Raster data support

Esri ArcGIS Server support

Non-Geo visualization tool support (SAP


Visual Enterprise)

3-dimensional point support


Native geo-application development
platform using XS

Third-party geo-services integration


SRID support
SHINE content
Geo-content & services

Continued BI tool, solution, and application


support
SQL invoked clustering

3D & 4D types and function support

New and enhanced spatial data types,


operators & functions
Enhanced geometry compression

OGC compliance (SFS TF)


Support for CDS, Modeler, & SQLScript

Continued BI tool, solution, and application


support

Geocoding trigger

Today

Release SPS09

Planned
Innovations

Future
Direction

This is the current state of planning and may be changed by SAP at any time.

AgendaAgenda
Introduction to Spatial at SAP

Spatial Processing with SAP HANA


SAP HANA & GIS Partner Interoperability Patterns

Customer Use Cases

SAP HANA and Esri Interoperability


Integration Patterns, Options & Vision
Esri ArcGIS

Location
Analytics &
Geo-Services

Mapping
Services &
Content

Applications &
Solutions

GIS Suite
Query Layers

CVOM

Esri Maps for


SAP BOBJ

WKT / WKB /
Shapefile /
GeoJSON

SAP Lumira

Import/Export
Business Data
OLTP

Spatial Data

Analytics

Planning

Predictive

Esri API / REST


Services - XS
Text

SAP HANA

Real-Time Data

Acceleration

Simplification
TODAY

2014 SAP SE. All rights reserved.

Spatial

Geoprocessing
Tasks &
Geodatabase

Innovation
VISION

This is the current state of planning and may be changed by SAP at any time.
28

Esri GIS Suite Support for SAP HANA


Combining the power of the Esri ArcGIS suite with the native spatial processing
from SAP HANA for high-performing location analytic capabilities
Simplified and direct method to connect and process
spatial data within SAP HANA from Esri ArcGIS for Desktop.
Access spatial and business data in a single location. Spend
80% of your time on analysis, not finding and moving data
around.
Speed complex spatial queries by running them in the
database, close to the data only retrieve the processed
and filtered results from SAP HANA. Tackle tough problems
in real time.
Enable user access to spatial and business data from SAP
HANA within the entire ArcGIS platform desktop, mobile,
web.
Lower maintenance and TCO by consolidating data,
reducing interfaces, and providing business users simple,
self-service web maps and applications.

ArcGIS Desktop
or Server

Query Layers
BUSINESS DATA
SPATIAL DATA
REAL-TIME DATA

SAP HANA Platform

AgendaAgenda
Introduction to Spatial at SAP

Spatial Processing with SAP HANA


SAP HANA & GIS Partner Interoperability Patterns

Customer Use Cases

Utilities Case Study


European company providing energy infrastructure related services
Key Capabilities
Energy infrastructure company needed to perform pipeline integrity
management analysis to identify high-risk transportation & distribution
pipes that are close to structures. This required pre-processing and
analyzing huge amounts of spatial data.
Previously, it took more than 3.5hours for this analysis on legacy
architecture. SAP HANA PoC implementation brought the compute time to
less than 2.5 seconds allowing the company to perform adhoc asset
management and reduce potential outages, & avoid catastrophic failures.
Additionally, geospatial visualization was used to estimate maintenance
cost per year for electricity stations.
84,000x
3.5hours to less than
2.5seconds in PoC

New capabilities
by combining geospatial with
transactional data

Connected Car Case Study


Premier tire manufacturer delivers real-time insight
Key Capabilities

Premier tire manufacturing company enabled fleet managers to perform


predictive maintenance by using SAP HANA to process 40 billion events
per year per fleet on a real-time basis using tire temperature and
pressure data measured by sensors installed on tires.
This helped to reduce fuel & tire cost and increased tire lifespan by
almost 20% helping the companys fleet management services improve
customer satisfaction and increase competitiveness.

3%
Fuel & Tire cost
Reduction

> 40 billion

Up to 20%

Events Per Year

extended tire lifespan

Sports and Entertainment Case Study


TSG Hoffenheim enriches fan experiences and maximizes premium ads
Key capabilities
TSG Hoffenheim is using SAP HANA to provide dynamic visual
analysis of player and ball movement via sensor chips embedded in the
ball and player shinguards.
This enables the analysis of player performance in real-time
and provides an enriched game viewing experience to all their fans.
Additionally, they plan to use SAP HANAs powerful spatial processing
to optimize dynamic premium ads placement based on on-the-field
ball location.

60,000,000
Position records streamed and stored in HANA

SAP HANA Spatial Ecosystem


GIS
Maps, Geo-content
& Geo-services
GIS Systems Integrator
and Consultancy
Location Intelligence
Solutions

Spectrum Spatial
Combine Enterprise Data and Spatial Analytics for Unmatched Business Insights in Real-time with
SAP HANA and Pitney Bowes Spectrum Spatial

Visualization
and Analysis

Routing

Geocoding

Combine enterprise data from SAP HANA with value-added data sets for superior insights
Utilize the real-time SAP HANA platform to provide just-in-time spatial insights to the business
Improve analytical processes and outcomes with high value, industry specific data sets
Centrally manage and deliver spatial services to any SAP Application
Share insights inside and outside the organization with Spectrum Spatial Analyst

Global Data

SAP HANA Based Spatial Solutions


Spatial Visualization & Location Analytics

critigen.com

Medicare Mapper native IOS app


Quickly see KPIs for 2011 Medicate data in SAP HANA
Easily compare KPIs for facilities or ZIP Codes
Utilizes SAP HANA, Esri ArcGIS Server & Online
Built with our Location Analytics offering on the SAP Store

Customer Outage SAP HANA XS app


Part of Situational Awareness RDS built with SAP NS2
Telco disaster response use case using actual telco data
Showcases SAP HANA spatial datatypes and spatial queries
Utilizes Esri ArcGIS Server and Online

Food Truck native iOS app


Part of Situational Awareness RDS built with SAP NS2
Track & spot objects/persons of interest
On-device analytics
Utilizes SAP HANA (XSJS), and Esri ArcGIS Server & Online

THANK YOU FOR PARTICIPATING


Please provide feedback on this session by completing
a short survey via the event mobile application.
SESSION CODE: BI473
For ongoing education on this area of focus,
visit www.ASUG.com

You might also like