7.23 SDO_NFE.IMPORT_NETWORK
Format
SDO_NFE.IMPORT_NETWORK( model_id IN NUMBER, model_id IN NUMBER, network_from IN VARCHAR2, line_ft_layer_id IN NUMBER, line_ft_class_id IN NUMBER, point_ft_layer_id IN NUMBER, point_ft_class_id IN NUMBER);
Description
Copies the network elements from an existing network to the underlying network of an NFE model (created in the SDO_NFE.FROM_SCRATCH mode), translating every link in line features from the line feature class (line_ft_class_id), and every node in point features from the point feature class (point_ft_class_id)..
Parameters
- model_id
- NFE model identifier.
- network_from
- Name of the network to be imported.
- line_ft_layer_id
- Feature layer ID for the newly created line features (created from the link elements).
- line_ft_class_id
- Feature class ID for the newly created line features.
- point_ft_layer_id
- Feature layer ID for the newly created point features (created from the node elements).
- point_ft_class_id
- Feature class ID for the newly created point features.
Usage Notes
The feature classes for the line and point features must already exist in the NFE model.
Examples
The following example imports a network named NET01
to a model identified by the ID 1. Lines and point features will be created for every link and node using the feature layers 10 and 11 and the feature classes 5 and 6.
EXECUTE SDO_NFE.import_network(1, ‘NET01’, 10, 5, 11, 6);
Parent topic: SDO_NFE Package Subprograms