5.2 Main Steps in Using the Network Data Model
This topic summarizes the main steps for working with the Network Data Model feature in Oracle Spatial. It refers to important concepts, structures, and operations that are described in detail in other topics.
There are two basic approaches to creating a network:
-
Let Spatial perform most operations, using procedures with names in the form CREATE_<network-type>_NETWORK.
-
Perform the operations yourself: create the necessary network tables and update the network metadata.
With each approach, you must insert the network data into the network tables. You can then use the Network Data Model PL/SQL and Java application programming interfaces (APIs) to update the network and perform other operations. (The PL/SQL and Java APIs are described in Network Data Model Application Programming Interface.)
Parent topic: Network Data Model Overview
5.2.1 Letting Spatial Perform Most Operations
To create a network by letting Spatial perform most of the necessary operations, follow these steps:
Parent topic: Main Steps in Using the Network Data Model
5.2.2 Performing the Operations Yourself
To create a network by performing the necessary operations yourself, follow these steps:
You can change the sequence of some of these steps. For example, you can create both the node and link tables first, and then insert data into each one; and you can insert the row into the USER_SDO_NETWORK_METADATA view before you create the node and link tables.
Parent topic: Main Steps in Using the Network Data Model