Show TOC

Feature ServiceLocate this document in the navigation structure

  1. Feature service reference

    The framework’s business layer is treated as the feature server.

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver?f=json

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver?f=json

  2. Layer

    Esri Layer resource represents a single editable layer or non-spatial table in a feature service.

    Note The current implementation of SAP Geographical Enablement Framework does not cover the topic of non-spatial table.

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver/<geometry layer id>?f=json

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver/1?f=json

  3. Query operation

    The query operation is performed on a feature service layer resource. SAP Geographical Enablement Framework implements a subset of Esri parameters as follows:

    Parameter

    Implemented by Framework

    objectIds

    Yes

    where

    Yes.

    The where clause only handles the following separate cases:

    A true condition: 1=1

    Free search: UPPER(GEF_FREESEARCH) LIKE ’<keyword>’

    Object key: GEF_OBJKEY = ‘<object key>’ AND GEF_CONTEXT = ‘<context>’

    <keyword>, <object key> and <context> are placeholders for their respective values. Enterprise search is a special type of query that has an additional standard enterprise search logic.

    geometry

    Yes

    geometryType

    Yes

    inSR

    Yes

    spatialRel

    Yes

    relationParam

    No

    time

    No

    outFields

    Yes

    returnGeometry

    Yes

    outSR

    Yes, in-line with spatial table SRID

    returnsIdsOnly

    No

    The enterprise search is a special type of query with which the framework first performs a standard enterprise search on the search keyword and injects the search result into the normal query execution flow.

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver/<geometry layer id>/query

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver /0/query?where=magnitude+%3E+4.5&outFields=*&returnGeometry=true&returnIdsOnly=false&f=json

  4. Add feature operation (post only)

    The framework only handles adding geometries of existing business objects.

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver/<geometry layer id>/addFeatures

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver /0/addFeatures

  5. Update feature operation (post only)

    The framework only handles updating geometry data.

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver/<geometry layer id>/updateFeatures

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver /0/updateFeatures

  6. Delete feature operation

    The framework only handles deleting geometries of existing business object.

    Parameter

    Implemented by Framework

    objectIds

    Yes

    where

    No

    geometry

    No

    geometryType

    No

    inSR

    No

    spatialRel

    No

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver/<geometry layer id>/deleteFeatures

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver /0/deleteFeatures

  7. Apply edit

    The framework only handles adding geometries of existing business objects, updating geometry data, and deleting geometries of existing business objects.

    URL: http://<host:port>/sap/ca/gef/arcgis/rest/services/<business layer id>/featureserver/<geometry layer id>/applyEdits

    Example: https://ldciqi3.wdf.sap.corp:44375/sap/ca/gef/arcgis/rest/services/BP/featureserver /0/applyEdits

Note Feature service functionalities not covered by SAP Geographical Enablement Framework include Query related records operation, attachment, HTML popup, and images.