Symptom
Spatial Reference Systems (SRS) and Spatial Reference Identifiers (SRID) is a feature in HANA Cloud.
Therefore, more information is required about how this is relevant/applicable for SAP Datasphere.
Environment
SAP Datasphere
Resolution
SAP Datasphere plans to add geo functionality in a holistic manner in the future.
This will entail activation of all SRS by default, support of geo data types, tight integration with SAC (which currently relies on 4326), support for geo functions in SQL views and a couple of small items more.
During the analysis for this development, Development team realized that just adding a single SRS will not cut it though since other parts of the product need to evolve with it (particularly data type support for more geo data types and geo functions ST_* to effectively work with the data).
The respective functionalities can be accessed today in an OpenSQL Schema.
Do your developments in that Schema, for example installing an additional SRS with standard HANA means, then exposing them back to Datasphere main schema for subsequent consumption.
Spatial reference systems can be installed in OpenSQL schema following the standard procedure described in SAP Help page SAP HANA as Geographic Information System for ESRI
For example:
CREATE PREDEFINED SPATIAL REFERENCE SYSTEMS; -- will install all SRS
or
CREATE PREDEFINED SPATIAL REFERENCE SYSTEM IDENTIFIED BY <srs-id>; --will install only SRS w ID = srs-id
- Create OpenSQL schema & accessing user in Space Management
- Open HANA Explorer from Space Management
- Install SRS (as reffered above)
- Expose data from Data Builder by setting "Expose for consumption" on the respective views
- Do your spatial work in OpenSQL in HANA Explorer
- Consume back the OpenSQL artefact from a new view in Data Builder (import OpenSQL artefact from "Sources" tab on the left of your view builder editor of a new view)
See Also
- SAP Help Create a Database User
- SAP Help Connect to Your Open SQL Schema
- SAP Help Allow the Space to Access the Open SQL Schema
Keywords
KBA , DS-MD , Modeling (Data Builder) , DS-PROV , DWC Provisioning , DS-SM , Space Management , Product Enhancement