I have developed a short tutorial, which may be useful when working with Oracle Spatial Network Data Model. Scripts developed for SDO network data model definition - network.zip. Contents of the network.zip archive are:
- nodes.sql - creates empty table to store network nodes;
- nodes_data.sql - data to be stored in nodes table;
- links.sql - creates empty table to store network links;
- links_data.sql - data to be stored in links table;
- path.sql - creates empty table to store paths data;
- path_links - creates empty table to store path links data;
- medata.sql - defines metadata for nodes, links and paths spatial columns and metadata for spatial network;
- indexes.sql - creates indexes for nodes, links and paths spatial columns;
- validate.sql - performs test for network validity, result should be TRUE
Resources for Oracle Spatial technology:
4 comments:
hello,
it's very interresting but it seems that you just have a command to create NODE, LINK , PATH and PATH_LINK at the same time, and also create index and view in metadata
EXECUTE SDO_NET.CREATE_SDO_NETWORK('TEST_NET',1,TRUE,FALSE);
'BUS'= Network name
1= no of hierarchy level
true, = --directed link ?
false = node with cost ?
Hi,
Yes, that true. However, this procedure does not create index and inserts metadata only for network definition (not for spatial columns). Depending on the situation, user should choose to use this procedure or separate procedures.
Thanks for the comment!
I want to make analysis like shortest path , spanning tree, etc with NDM.. would you like to help me with give me some sample?? may be oracle have made procedure like SDO_NN in NDM
Hi,
I'm sure, Oracle have described this in Spatial Developer guide. This document is available on OTN.
Regards,
Andrejus
Post a Comment