6.22 SDO_NET.DELETE_DANGLING_FEATURES

Format

SDO_NET.DELETE_DANGLING_FEATURES(
     feature_layer_id IN NUMBER);

Description

Deletes dangling features in a feature layer. A dangling feature is a feature that is not associated with any network elements (nodes or links).

Parameters

feature_layer_id

ID of the feature layer containing the features.

Usage Notes

To find the dangling features in a feature layer, use the SDO_NET.GET_DANGLING_FEATURES function.

Examples

The following example deletes any dangling features in the POI feature layer in the GRID network.

DECLARE
  feature_layer_id NUMBER;
BEGIN
  feature_layer_id := sdo_net.get_feature_layer_id('GRID', 'POI');
  sdo_net.delete_dangling_features(feature_layer_id);
END;
/