Вы находитесь на странице: 1из 8

SAP HANA Platform SPS 11

Document Version: 1.0 2016-02-16

Geospatial Metadata Installer

PUBLIC

Content

Geospatial Metadata Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.1

Download File from SAP Support Portal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

1.2

Import the Geospatial Metadata Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.3

Create Database Users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

1.4

Assign User for the Geospatial Metadata Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

1.5

Use the Geospatial Metadata Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2016 SAP SE or an SAP affiliate company. All rights reserved.

Geospatial Metadata Installer


Content

Geospatial Metadata Installer

With the Geospatial Metadata Installer you can install standard EPSG spatial reference system (SRS) and unit of
measure (UOM) definitions.

1.1

Download File from SAP Support Portal

In the SAP Software Download Center, you can access content for the additional services for SAP HANA Spatial.
1. Call a Web browser.
2. Open the SAP Software Download Center.
3. Choose Search for Software.
4. Search for and download the following objects:
"SPATIAL METADATA"
Download the HCOSPATIALMI00_0-<nnn>.ZIP file and unpack it. Put the HCOSPATIALMI.tgz file on
your client so that you can import it using the SAP HANA studio.

Related Information
SAP Software Download Center

1.2

Import the Geospatial Metadata Installer

Import the delivery unit.


1. Open the SAP HANA studio.
2. Choose

File

3. Choose

SAP HANA Content

4. Select

Import .
Delivery Unit .

Client .

5. Import the delivery units:


Browse for file HCOSPATIALMI.tgz, select it and choose Finish.

Geospatial Metadata Installer


Geospatial Metadata Installer

2016 SAP SE or an SAP affiliate company. All rights reserved.

1.3

Create Database Users

Create database users to use the Geospatial Metadata Installer.


1. Call the SAP HANA studio.
2. In the Systems view, log on to the SAP HANA system.
3. In the Systems view, open the context menu for

Security

Users .

4. Choose New User and make the required entries.


Create the following users:
One user (for example RESTRICTED_USER) to use the Geospatial Metadata Installer
One user (for example CONNECTOR) to establish the required SQLCC connection and modify the defined
database object
5. Grant the users the following Privileges:
RESTRICTED_USER
APPLICATION PRIVILEGE: "sap.hana.spatial.metadataInstaller::Execute"
CONNECTOR
SYSTEM PRIVILEGE: CATALOG READ
OBJECT PRIVILEGE: ST_SPATIAL_REFERENCE_SYSTEMS (DB object type "view") with privilege
"SELECT"
OBJECT PRIVILEGE: ST_UNITS_OF_MEASURE (DB object type "view") with privilege "SELECT"
OBJECT PRIVILEGE: ST_GEOMETRY_COLUMNS (DB object type "view") with privilege "SELECT"
OBJECT PRIVILEGE: METADATAINSTALLER (DB object type "schema") with all privileges
6. Choose Deploy for each user (RESTRICTED_USER and CONNECTOR) to save the user.

1.4

Assign User for the Geospatial Metadata Installer

Assign the user to view the Geospatial Metadata Installer.


1. Open a Web browser.
2. Start the SAP HANA XS Administration Tool.
The SAP HANA XS Administration Tool is available on the SAP HANA XS Web server at the following URL:
http://<host>:80<instance_number>/sap/hana/xs/admin/ (for example http://myhost:
8050/sap/hana/xs/admin/).

Note
You need XS Admin rights to assign the user.
3. Choose

XS Administration Tools .

4. Choose

XS Artifact Administration .

5. Choose

Application Objects

6. Select
7. Choose

Packages

sap

hana

spatial

metadataInstaller .

query.xssqlcc .
Edit .

2016 SAP SE or an SAP affiliate company. All rights reserved.

Geospatial Metadata Installer


Geospatial Metadata Installer

8. Enter user name and password of the user (for example CONNECTOR) that you created to establish the
SQLCC connection.
9. Choose

1.5

Save .

Use the Geospatial Metadata Installer

Use the Geospatial Metadata Installer.


1. Open a Web browser.
2. Start the Geospatial Metadata Installer.
The Geospatial Metadata Installer tool is available on the SAP HANA XS Web server at the following URL:
http://<host>:80<instance_number>/sap/hana/spatial/metadataInstaller/index.html, (for
example http://myhost:8050/sap/hana/spatial/metadataInstaller/index.html).
3. Enter the credentials for user (for example RESTRICTED_USER) to log on to the Geospatial Metadata
Installer .
4. You can use the following functions:
View Current State of Spatial Metadata
This function shows the following information:
how many Spatial Reference Systems (SRS) and Spatial Units of Measure (UOM) currently are stored
in the database
how many and which SRS and UOM currently are active, i.e. in use in the database. These cannot be
updated.
how often these SRS and UOM currently are used
Start Update Immediately
With this function you will install standard EPSG Spatial reference system (SRS) and unit of measure
(UOM) definitions in your SAP HANA system.

Geospatial Metadata Installer


Geospatial Metadata Installer

2016 SAP SE or an SAP affiliate company. All rights reserved.

Important Disclaimers and Legal Information

Coding Samples
Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system
environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and
completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, unless damages were caused by SAP
intentionally or by SAP's gross negligence.

Accessibility
The information contained in the SAP documentation represents SAP's current view of accessibility criteria as of the date of publication; it is in no way intended to be a
binding guideline on how to ensure accessibility of software products. SAP in particular disclaims any liability in relation to this document. This disclaimer, however, does
not apply in cases of wilful misconduct or gross negligence of SAP. Furthermore, this document does not result in any direct or indirect contractual obligations of SAP.

Gender-Neutral Language
As far as possible, SAP documentation is gender neutral. Depending on the context, the reader is addressed directly with "you", or a gender-neutral noun (such as "sales
person" or "working days") is used. If when referring to members of both sexes, however, the third-person singular cannot be avoided or a gender-neutral noun does not
exist, SAP reserves the right to use the masculine form of the noun and pronoun. This is to ensure that the documentation remains comprehensible.

Internet Hyperlinks
The SAP documentation may contain hyperlinks to the Internet. These hyperlinks are intended to serve as a hint about where to find related information. SAP does not
warrant the availability and correctness of this related information or the ability of this information to serve a particular purpose. SAP shall not be liable for any damages
caused by the use of related information unless damages have been caused by SAP's gross negligence or willful misconduct. All links are categorized for transparency
(see: http://help.sap.com/disclaimer).

2016 SAP SE or an SAP affiliate company. All rights reserved.

Geospatial Metadata Installer


Important Disclaimers and Legal Information

Geospatial Metadata Installer


Important Disclaimers and Legal Information

2016 SAP SE or an SAP affiliate company. All rights reserved.

go.sap.com/registration/
contact.html

2016 SAP SE or an SAP affiliate company. 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 SE
or an SAP affiliate company. The information contained herein may
be changed without prior notice.
Some software products marketed by SAP SE and its distributors
contain proprietary software components of other software
vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company
for informational purposes only, without representation or warranty
of any kind, and SAP or its affiliated companies shall not be liable for
errors or omissions with respect to the materials. The only
warranties for SAP or SAP affiliate company 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 SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the
trademarks of their respective companies.
Please see http://www.sap.com/corporate-en/legal/copyright/
index.epx for additional trademark information and notices.