Más contenido relacionado La actualidad más candente (20) Similar a HANA SPS07 Geospatial Processing (20) Más de SAP Technology (20) HANA SPS07 Geospatial Processing1. What´s New? SAP HANA SPS 07
Geospatial Processing in SAP HANA
(Delta from SPS 06 to SPS 07)
SAP HANA Product Management
November, 2013
2. Agenda
Introduction to Spatial Processing with SAP HANA
SAP HANA Spatial Architecture
Application Development in SAP HANA with XS Engine
SAP HANA Spatial Ecosystem
Customer Use Cases
© 2013 SAP AG. All rights reserved.
Public
2
3. SAP HANA Platform
More than just a database
Any Apps
SAP Business Suite
Any App Server
Supports
any Device
and BW ABAP App Server
SQL
MDX
R
JSON
Open Connectivity
SAP HANA Platform
SQL, SQLScript, JavaScript
Search/Text
Mining
Data Virtualization
Geospatial
Stored Procedure
& Data Models
Application & UI
Services
Business Function
Library
Predictive
Analysis Library
Database
Services
Planning Engine
Rules Engine
Replication, Streaming and ETL Integration Services
Transaction
Unstructured
Machine
HADOOP
Real-time
Locations
Other Apps
SAP HANA Platform Converges Database, Data Processing and Application Platform
Capabilities & Provides Libraries for Predictive, Planning, Text, Spatial, and Business
Analytics to enable business to operate in real-time.
© 2013 SAP AG. All rights reserved.
Public
3
4. What is a spatially enabled database?
Key capabilities delivered in SAP HANA
•
Store, process, manipulate, share, and retrieve
spatial data directly in the database
point
•
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
•
Process vector data
•
Multi-polygon
Store and transform various 2D coordinate
systems
•
polygon
line
Implements the ISO/IEC 13249-3 standard and
Open Geospatial Consortium (1999 SQL/MM
standard)
© 2013 SAP AG. All rights reserved.
Public
4
5. 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
© 2013 SAP AG. All rights reserved.
Public
5
6. The Solution
Spatial-enabled solutions on SAP HANA
Spatial in
BI & Mobile
Real-time
Data Management
Real-time
Information
Management
Embed
Model
Integrate
i
Analyze
Process
Cleanse
Visualize
Deliver
Third-Party GIS
(Esri ArcGIS)
Third-Party Map
Content & Services
Spatial-enabled Applications
Geo-code
Transaction
Data
Unstructured
Data
Location
Data
Machine
Data
Unified platform for enriching business data with spatial
© 2013 SAP AG. All rights reserved.
Public
6
7. SAP HANA
A platform for a new class of real-time
analytics and applications
SAP HANA
Database
Information Composer &
Modeling Studio
Planning &
Calculation Engine
Mobile
Real-time
Replication Services
SAP
HANA
Text Search &
Text Analysis
Real Platform for
real-time business
Predictive Analysis &
Business Function Libraries
Cloud
In-Memory
Database
Spatial Processing
Data Services
R & Hadoop Integration
© 2013 SAP AG. All rights reserved.
Core Business
Acceleration
Machine
Learning
Planning &
Optimization
Public
7
8. SAP HANA
Develop and deploy spatially-enabled analytics and applications
Analytics
Applications
OLTP
Visualization
Analytics
SAP Info Access
(HTML 5)
GIS
Planning
Predictive
Text
Spatial
GeoServices
GeoContent
Columnar
Spatial
Processing
Calc Model
/ Views
BUSINESS DATA
SAP HANA
Mobility
Spatial
Functions
Spatial
Data Types
SPATIAL DATA
REAL-TIME DATA
Transaction
Data
Real-time
high-performance
spatial processing
© 2013 SAP AG. All rights reserved.
Store, process,
manipulate, retrieve
and share spatial data
Unstructured
Data
Location
Data
Unified modeling
platform
Machine
Data
Combine spatial
with business data
Geo-content
and services
Public
8
9. Agenda
Introduction to Spatial Processing with SAP HANA
SAP HANA Spatial Architecture
SAP HANA Spatial Ecosystem
Application Development in SAP HANA with XS Engine
Customer Use Cases
© 2013 SAP AG. All rights reserved.
Public
9
10. Spatial Processing Architecture
Introducing in SAP HANA SPS 06:
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
Supports:
2D – Vector Types
Points, line-strings, polygons, compound
polygons
Spatial functions
SRID (Spatial Reference ID’s)
Application development on XS with geocontent and mapping services
© 2013 SAP AG. All rights reserved.
Public
10
11. Consumption – spatial SQL
1. table creation
CREATE COLUMN TABLE locations
(
id INTEGER,
description CHAR(100),
location ST_POINT
2. spatial SQL
),
SELECT
description
FROM
location
WHERE
location.ST_Within(ST_FromText(‘ST_POLYGON(-1 -1, 2 -1, 2 2, -1 2)’))
© 2013 SAP AG. All rights reserved.
Public
11
12. Sample usage of Spatial in HANA
Spatial data types
SQL Syntax to retrieve spatial data
© 2013 SAP AG. All rights reserved.
Public
12
13. Consumption – calculation engine
CREATE COLUMN TABLE locations
(
id INTEGER,
description CHAR(100),
location ST_POINT
),
1. spatial tables
2. calculation view
3. standard SQL
SELECT
description
FROM
calculation view
© 2012 SAP AG. All rights reserved.
© 2013 SAP AG. All rights reserved.
Public
13
14. SQL syntax for HANA Spatial
Or it could be a complex HANA Model
CREATE COLUMN VIEW NOKIA.OV_POI WITH PARAMETERS (indexType=5,
joinIndex=NOKIA.POI_DETAIL, joinIndexType=2, joinIndexEstimation=0,
joinIndex=NOKIA.POI_LOCATION, joinIndexType=2, joinIndexEstimation=0,
joinIndex=NOKIA.POI_TYPE, joinIndexType=2, joinIndexEstimation=0,
joinIndex=NOKIA.POI_POSTAL_CODE, joinIndexType=2, joinIndexEstimation=0,
joinIndex=NOKIA.SALES, joinIndexType=1, joinIndexEstimation=0,
joinCondition=('join1', NOKIA.SALES, "POI_DIM_ID",
NOKIA.POI_LOCATION, "POI_ID", '', 256, 0),
joinCondition=('join2', NOKIA.POI_DETAIL, "POSTAL_CODE", NOKIA.POI_POSTAL_CODE, "POSTAL_CODE", '', 256, 1),
joinCondition=('join3', NOKIA.POI_DETAIL, "TYPE_ID",
joinCondition=('join4', NOKIA.POI_LOCATION, "POI_ID",
NOKIA.POI_TYPE, "TYPE_ID", '', 256, 2),
NOKIA.POI_DETAIL, "POI_ID", '', 256, 3),
joinPath=('path1','join1'),
joinPath=('path2','join1, join4'),
joinPath=('path3','join1, join4, join2'),
joinPath=('path4','join1, join4, join3'),
viewAttribute=('SHAPE',
NOKIA.POI_POSTAL_CODE, "SHAPE",
'path3', '','', '', 'BW_POI_AV$SHAPE'),
viewAttribute=('LANGUAGE_CODE', NOKIA.POI_TYPE, "LANGUAGE_CODE", 'path4', '','','', 'BW_POI_AV$LANGUAGE_CODE'),
viewAttribute=('TYPE_NAME',
viewAttribute=('LOCATION',
NOKIA.POI_TYPE, "TYPE_NAME",
'path4', '', '', '', 'BW_POI_AV$TYPE_NAME'),
NOKIA.POI_LOCATION, "LOCATION",
viewAttribute=('POI_ID',
NOKIA.POI_LOCATION, "POI_ID",
viewAttribute=('NAME',
NOKIA.POI_DETAIL, "NAME",
'path1', '', '', '', 'BW_POI_AV$LOCATION'),
'path1', '', '', '', 'BW_POI_AV$POI_ID'),
'path2', '', '', '', 'BW_POI_AV$NAME'),
viewAttribute=('POSTAL_CODE', NOKIA.POI_DETAIL, "POSTAL_CODE", 'path2', '','','', 'BW_POI_AV$POSTAL_CODE'),
keyFigure=("SALES", 1, formula='', description='', unitConversionName='', expression='', expressionFlags=0, indexId=NOKIA.SALES, attribute="SALES"),
keyFigure=("QUANTITY",1, formula='', description='', unitConversionName='', expression='', expressionFlags=0, indexId=NOKIA.SALES, attribute="QUANTITY"),
'REGISTERVIEWFORAPCHECK'='1',
OPTIMIZEMETAMODEL=0);
© 2013 SAP AG. All rights reserved.
Public
14
15. Sample Spatial functions in SAP HANA
ST_WITHIN(Geometry,Geometry)
ST_EQUALS(Geometry,Geometry)
ST_CONTAINS(Geometry,Geometry)
ST_BUFFER(Geometry)
ST_WITHINDISTANCE(Geometry,Geometry)
ST_DISTANCE(Geometry,Geomety)
ST_AREA(Geometry)
ST_LENGTH(LineString)
Within Query
select * from mytable where
point.ST_Within('POLYGON((0.0 0.0,2.0 0.0, 2.0
2.0, 0.0 2.0, 0.0 0.0))') = 1;
Window Query
select * from mytable where
shape.ST_IntersectsRect(new ST_POINT(0.0, 0.0),
new ST_POINT(100.0, 100.0)) = 1;
Spatial Reference Systems
Euclidian
WGS84
RD
© 2013 SAP AG. All rights reserved.
Public
15
17. Agenda
Introduction to Spatial Processing with SAP HANA
SAP HANA Spatial Architecture
Application Development in SAP HANA with XS Engine
SAP HANA Spatial Ecosystem
Customer Use Cases
© 2013 SAP AG. All rights reserved.
Public
17
18. SAP HANA Scenarios
Extended Scripting Services (XS)
Front-end Technologies
Client: Browser or Mobile
http/s
HTML5 / SAPUI5
Presentation
logic
Client-side JavaScript
Control Flow Technologies
OData
XS
Data Processing
Technologies
Rationale: Enable application
development and deployment while
minimizing architectural “layers”
Scope: From Lightweight small
web-based applications to Complex
enterprise business applications
SAP HANA
Server-Side JavaScript
XMLA
What: Small footprint application /
web server for application
development inside SAP HANA
Control flow
logic
SQL / SqlScript
Calculation Engine
Functions
Application Function Library
(AFL)
© 2013 SAP AG. All rights reserved.
Dat
a
Calculation logic
Public
18
19. SAP HANA Spatial Application Development
Quickly develop and deploy SAP HANA based spatial applications with
provided geo-content and map services via the native XS engine
HTML5
Application
iPad/
Browser
SAP HANA XS
Spatial
Engine
Maps
Geocoding
Geocontent
SAP
HANA
Location
Services Services
© 2013 SAP AG. All rights reserved.
Capabilities:
SAP HANA spatial application development
components include: Location Services (onpremises or cloud), Geo-Content, Application
Interfaces, Services
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
NOT a general purpose BI or GIS tool!
Benefits:
Quick development and deployment time
Low TCO & TCD and fast response times with 2tier architecture
Components, content, and services included
with SAP HANA; can also use other map svcs
Public
19
20. Building a Native Spatial Application in SAP HANA with XS
and Mapping Content & Services
Load
Spatial
Data
Load spatial data (geocoded / x y) and
applicable spatial content (POI, road
networks, and political boundaries)
Create
Model
Use HANA Studio to create spatial
tables, define the data model, and
create views (spatial and non-spatial)
Configure
XS
Configure XS by connecting to map
services and create query services
Configure
App
Configure application UI and behavior
Deploy
Perform real-time interaction with
spatial and non-spatial data via map
(zoom/pan, filter, drag, create polygons)
© 2013 SAP AG. All rights reserved.
Public
20
21. Agenda
Introduction to Spatial Processing with SAP HANA
SAP HANA Spatial Architecture
Application Development in SAP HANA with XS Engine
SAP HANA Spatial Ecosystem
Customer Use Cases
© 2013 SAP AG. All rights reserved.
Public
21
22. 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:
• Point
• Clustering
• Linestring
• Spatial Joins
• Polygon
• SRID metadata
• Spatial function library
Load tools:
• SAP Data Services
• SAP Event Stream Processor
Engines:
• Indexserver
• Calc
• Spatial
• Attribute
• XS
Geo-Services:
• Geoservices
• Geocontent
Views:
• Analytical
• Attribute
• Calculation
Geospatial Import/Export:
• Shapefile, csv, binary
• WKT / WKB Support
Data Sources
SAP Data
© 2013 SAP AG. All rights reserved.
Non-SAP Data
Spatial Data
Real-Time Data
GIS
Public
22
23. SAP HANA and Esri Interoperability
Planned Integration Options & Vision
Esri ArcGIS
Location
Analytics &
Geo-Services
GIS Suite
Mapping
Services &
Content
Applications &
Solutions
Query Layers
CVOM
Esri Maps for
SAP Lumira
WKT / WKB /
Shapefile /
GeoJSON
SAP Xcelsius
Supported
Today
Planned
Q1 2014
Import/Export
SAP HANA
(SPS 06 & later)
Business Data
Spatial Data
OLTP
Spatial
Data
Types
Esri API via
XS Engine
Analytics
Spatial
Functions
Planning
Calc
Model /
Views
ODBC
Predictive
Columnar
Spatial
Storage
Text
GeoContent
Spatial
GeoServices
Real-Time Data
This is the current state of planning and may be changed by SAP at any time.
© 2013 SAP AG. All rights reserved.
Public
23
24. SAP HANA Spatial Roadmap
Advanced Spatial
Capabilities
Geodatabase and 3D
Support
Spatial Compliance
Full OGC compliance
Full integration of spatial data-types
3D type and function support
User defined SRID
Raster support and processing
Space filing curve optimization
SVG rendering
Import/export capability
Advanced spatial functions
BI/GIS interoperability
Spatial Join
Non-Geo visualization tool
support (Visual Enterprise)
Geo-content and services
Application enhancements to
support and leverage spatial
Vector spatial data types and
functions
Geo-application development
platform using XS
Current
Mid-Term
Long-Term
This is the current state of planning and may be changed by SAP at any time.
© 2013 SAP AG. All rights reserved.
Public
24
25. Agenda
Introduction to Spatial Processing with SAP HANA
SAP HANA Spatial Architecture
Application Development in SAP HANA with XS Engine
SAP HANA Spatial Ecosystem
Customer Use Cases
© 2013 SAP AG. All rights reserved.
Public
25
26. 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
© 2013 SAP AG. All rights reserved.
New capabilities
by combining geospatial
with transactional data
Public
26
27. 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 company’s fleet management services improve
customer satisfaction and increase competitiveness.
3%
Fuel & Tire cost
Reduction
© 2013 SAP AG. All rights reserved.
> 40 billion
Up to 20%
Events Per Year
extended tire lifespan
Public
27
28. 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 HANA’s 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
© 2013 SAP AG. All rights reserved.
Public
28
29. Disclaimer
This presentation outlines our general product direction and should not be
relied on in making a purchase decision. This presentation is not subject to
your license agreement or any other agreement with SAP.
SAP has no obligation to pursue any course of business outlined in this
presentation or to develop or release any functionality mentioned in this
presentation. This presentation and SAP’s strategy and possible future
developments are subject to change and may be changed by SAP at any time
for any reason without notice.
This document is provided without a warranty of any kind, either express or
implied, including but not limited to, the implied warranties of
merchantability, fitness for a particular purpose, or non-infringement. SAP
assumes no responsibility for errors or omissions in this document, except if
such damages were caused by SAP intentionally or grossly negligent.
© 2013 SAP AG. All rights reserved.
Public
29
31. © 2013 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing
herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in
Germany and other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
© 2013 SAP AG. All rights reserved.
Public
31
32. © 2013 SAP AG. Alle Rechte vorbehalten.
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die
ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige
Ankündigung geändert werden.
Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietäre Softwarekomponenten anderer
Softwareanbieter.
Produkte können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen („SAP-Konzern“) bereitgestellt und dienen ausschließlich zu
Informationszwecken. Der SAP-Konzern übernimmt keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation.
Der SAP-Konzern steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und
Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder
eingetragene Marken der SAP AG in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum
Markenrecht finden Sie unter http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark.
© 2013 SAP AG. All rights reserved.
Public
32
Notas del editor Data has no shape, form or geographic context that can be visually understoodData is incomplete and not in synch with business systems; Not linked to the business process Company ProfileFounded in 1872, Pirelli is the fifth biggest tire maker in the world in terms of sales. Present in over 160 countries, today it has 22 tire production facilities located on four continents and counts about 37,000 employees. Pirelli estimates its value at €2.27 billion.Pirelli has been an SAP customer for a long time, running several solutions in the SAP Business Suite, including ERP, CRM and SRM to name a few. With SAP HANA, Pirelli is looking to deliver real-time analytics to provide insight on cost/profitability analysis, sales & distribution, and supply chain management. “We have some huge SAP ERP processes that we run to deliver timely data about the sales and distribution activities that for us are very important because in our business the major part of the sales tends to be concentrated in the last days of each month. Before SAP HANA, we were not able to deliver those kind of reports in the timely manner that our business people needed to have.” With SAP HANA, we have increased the speed to produce those reports (refresh rate from 60 minutes to 5 minutes) <From customer interview transcript at SAPPHIRE, May 2013)In addition, Pirelli is interested in working with SAP as a valued partner to develop innovative solutions. In particular, Pirelli is developing a new services, Web-based application that runs on SAP HANA to provide fleet managers of vehicles the ability to gain new insight on the use of tires, predict maintenance, and increase customer satisfaction.Inside of each tire is a sensor that collects data relating to pressure, temperature and identification which is can be transmitted to the driver, fleet manager or dealer, allowing them to plan diagnostic and maintenance work, which guarantees the best possible safety standards for every vehicle in the fleetEnsure that the tires are correctly and properly managed during their life helps: Lower running costs by cutting fuel consumption (correct tire pressure at all times)Extend the tire lifespan by up to 20% (CO2 reduction) (improved maintenance recommendation)Improved safety and reduced failure through pro-active monitoring & alerting drivers (e.g. deflation The German footballclub 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 our fans. Additionally, we plan to use this powerful spatial processing capability in SAP HANA to optimize dynamic premium ads placement based on real-time ball movements."