Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

HANA geo spatial: adding another SRS_ID to ST_GEOMETRY column

$
0
0

Hi experts,

 

We are on HANA 1.0 Rev68 and using the spatial engine.

 

When defining a table with an ST_GEOMETRY column type we would like to use another Spatial Ref system than the default (0) one. In HANA type 4326 is also available but we are not able to create a column using this SRS_ID.

For example this DDL statement.

 

CREATE COLUMN TABLE CGIS

(

gid INTEGER PRIMARY KEY,

thegeom ST_GEOMETRY

);


This creates a record in SYS.ST_GEOMETRY_COLUMNS with SRS_ID 0.


But how to create thegeom column with 4326 as SRS_ID?

  1. thegeom ST_GEOMETRY(4326) does not work.
  2. We can't update the view SYS.ST_GEOMETRY_COLUMNS.


Can you help us out here?


Cheers, Wout




Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>