6.6 SDO_NET.ADD_FEATURE_LAYER

Format

SDO_NET.ADD_FEATURE_LAYER(
     network_name IN VARCHAR2,
     feature_layer_name IN VARCHAR2,
     feature_layer_type IN VARCHAR2,
     feature_table      IN VARCHAR2,
     relation_table     IN VARCHAR2,
     hierarchy_table    IN VARCHAR2);

Description

Adds a feature layer.

Parameters

network_name

Name of the network.

feature_layer_name

Name of the feature layer.

feature_layer_type

Type of features in the layer (from Table 5-1).

feature_table

Name of the feature table (see Feature Table).

relation_table

Name of the feature element relationships table (see Feature Element Relationships Table).

hierarchy_table

Name of the feature hierarchy table (see Feature Hierarchy Table).

Usage Notes

A feature layer ID is automatically generated for the feature layer.

Examples

The following example creates a feature layer named POI (points of interest) of multipoints (SDO_NET.FEAT_TYPE_MPOINT).

BEGIN
  sdo_net.add_feature_layer(
    'GRID',
    'POI',
    SDO_NET.FEAT_TYPE_MPOINT,
    'POI_FEAT$',
    'POI_REL$',
    NULL
  );
END;
/