Use
The framework provides the interface to access the GIS database, which is SAP HANA by default.
Methods
The Interface uses the following methods:
Used to create geometry in the SAP HANA database.
Parameter | Description |
---|---|
IO_REQ_CONTEXT |
The context of a query request that the application needs to create new geometry records. Type IF_GEF_REQ_EDIT |
RT_FEATURE |
Table of added geometries for a feature object. An object ID will be assigned to each object. Some information is also provided in case the current operation is unsuccessful. Type GEFT_FEATURE_OBJECT |
Used to create multiple geometries without business context in the SAP HANA database.
Parameter | Description |
---|---|
IV_GEO_ID |
Geo Object ID Type GEF_GEO_ID |
IT_FEATURE |
Table of geometries for a feature object. |
RT_FEATURE |
Table of added geometries for a feature object. An object ID will be assigned to each object. Some information is also provided in case the current operation is unsuccessful. Type GEFT_FEATURE_OBJECT |
Used to update geometry in the SAP HANA database.
Parameter | Description |
---|---|
IO_REQ_CONTEXT |
The context of a query request that the application needs to update new geometry records. Type IF_GEF_REQ_EDIT |
RT_FEATURE |
Table of updated geometries. Object ID remains the same for each object. Some information is also provided in case the current operation is unsuccessful. Type GEFT_FEATURE_OBJECT |
Used to update multiple geometries without a business context in the SAP HANA database.
Parameter | Description |
---|---|
IV_GEO_ID |
Geo Object ID Type GEF_GEO_ID |
IT_FEATURE |
Table of geometries for a feature object. |
RT_FEATURE |
Table of updated geometries for a feature object. Object ID remains the same for each object. Some information is also provided in case the current operation is unsuccessful. Type GEFT_FEATURE_OBJECT |
Used to delete geometry in the SAP HANA database.
Parameter | Description |
---|---|
IO_REQ_CONTEXT |
The context of a query request that the application needs to delete the existing geometry records, namely the Object ID. Type IF_GEF_REQ_EDIT |
RT_FEATURE |
Table of deleted geometries. Object ID remains the same for each object. Some information is also provided in case the current operation is unsuccessful. Type GEFT_FEATURE_OBJECT |
Used to delete multiple geometries without a business context in the SAP HANA database.
Parameter | Description |
---|---|
IV_GEO_ID |
Geo Object ID Type GEF_GEO_ID |
IT_FEATURE |
Table of geometries for a feature object. |
RT_FEATURE |
Table of deleted geometries for a feature object. Object ID remains the same for each object. Some information is also provided in case the current operation is unsuccessful. Type GEFT_FEATURE_OBJECT |
Used to query geometry in the SAP HANA database.
Parameter | Description |
---|---|
IO_REQ_CONTEXT |
The context of a general query request that the application needs to run against the GIS database. Type IF_GEF_REQ_EDIT |
ER_STRUCTDESCR |
The query result is returned in a table of dynamic structure. The metadata of the structure is included in this parameter. Type ref to CL_ABAP_STRUCTDESCR |
ER_RESULT_REF |
The query result is returned as a dynamic table referred by this parameter. Type DATA |
Used to read specified geometries in the SAP HANA database.
Parameter | Description |
---|---|
IT_GDB_OBJ_ID |
The table of IDs of objects whose details will be returned. Type GEFT_GDB_OBJECT_ID |
ET_GDB_OBJECT |
Table of geometry records requested by the input parameter. Type GEFT_GDB_GEOM |
Used to read geometries in the SAP HANA database for the specified business objects.
Parameter | Description |
---|---|
IV_BO_ID |
Type of business object. Type GEF_BO_ID |
IT_OBJKEY |
Table of keys of requested business objects. Type GEFT_OBJKEY |
IV_GEOMETRY_TYPE |
To specify only if certain geometry types (point, line, polygon) need to be returned. Type GEF_GEOM_TYPE |
ET_GDB_OBJECT |
Table of geometry records requested by the input parameter. Type GEFT_GDB_GEOM |
Commit or rollback the editing operations since the last commit or rollback operation. There is no parameter.
Get unused geometry object ID. This geometry ID is unique across all geometry tables.
Parameter | Description |
---|---|
RV_GEOM_ID |
Object Identification Number for GIS Database Geometry Type GEF_GDB_OBJECT_ID |
A utility method that provides access to the most frequently used geometric operations, such as testing if a geometry intersects a rectangle.
Parameter | Description |
---|---|
IV_SERVICE_NAME |
Name of geometry service. For now, only IntersectRect (IR) is supported. Type GEF_BO_ID |
IV_GEOM_WKT |
The target geometry in WKT format. Type STRING |
IV_GEOM1_WKT |
The first input geometry. In the case of IR, it's the left-bottom point. Type STRING |
IV_GEOM2_WKT |
The second input geometry. In the case of IR, it's the right-top point. Type STRING |
IV_IN_SRID |
The SRS ID of the input geometry. Type GEF_GDB_SRS_ID |
IV_OUT_SRID |
The SRS ID of the output geometry. Type GEF_GDB_SRS_ID |
EV_RESULT |
String Result. In the case of IR, 0 represents "not intersected". Type STRING |