Oracle Spatial Network Data Model Demo | FAQ |
Before running this demo, you need to perform the following tasks:
Before proceeding with this demo, make sure the version of your Network Data Model is 11.2 or higher, regardless of your Oracle Database version. One simple way of verifying the version of NDM is to use the PL/SQL statement "DESCRIBE MDSYS.SDO_NET", and see whether the LOGICAL_PARTITION procedure exists. If so, then your NDM version is 11.2 or higher. Otherwise, you need to apply the NDM patch 7700528 to upgrade NDM to 11.2.
To set up the data, download the Oracle Spatial Network Data Model Tutorial from Oracle Sample Code web site. Open the index.html file in the tutorial package, and follow the steps in Set Up the Networks For Analysis. The default network is the HERE San Francisco network in this demo.
The geocoder should connect to the database user, in which your HERE data was loaded. Note that geocoder does not support data not in HERE ODF format; therefore, you may skip this step if you data is not from HERE. If you skip this step, you will not be able to use address and longitude latitude pairs as the start and end locations on the network analysis pages, but you can still enter node IDs directly, which does not require the geocoder to interpret the locations.
You need to create the following MapViewer data sources:
- ndmdemo
, which connects to the ndmdemo user in your database, and
- here_sf
, which connects to the network user in your database, for example, here_sf.
This configuration file is LODConfigs.xml
, located under
<ndmdemo-web-directory>/WEB-INF/config
.
If the configuration element for your network does not exist, add one by copying from
the EXAMPLE_NETWORK
. Then edit the partitionBlobTranslator
for your network. If your partition BLOBs are in HERE ODF format, use
oracle.spatial.router.ndm.RouterPartitionBlobTranslator10g
or
oracle.spatial.router.ndm.RouterPartitionBlobTranslator11gR2
according to your data
version. If your partition BLOBs are in NDM format, use
oracle.spatial.network.lod.PartitionBlobTranslator11gR2
.