Oracle Spatial And Graph Network Data Model Demo | NDM Demo Home | FAQ |
This web application shows how to use Oracle Spatial technologies, including NDM, router, geocoder, and MapViewer, to conduct network analysis and draw results on a map.
Besides Oracle Spatial, this demo also uses Java Servlet, JSP, and Java Bean technologies. The major building blocks of this demo are described in the architecture.
Before running this demo, you must perform the setup steps described in the setup page.
The first time you run this demo, you must set the MapViewer, geocoder, and database connections using the getConfiguration.jsp demo (first demo in the following table).
Demo | Source Code | Description |
---|---|---|
getConfiguration.jsp | getConfiguration.jsp setConfiguration.jsp |
Set the configuration information. |
shortestPath.jsp | shortestPath.jsp shortestPathAnalysis.jsp |
Find the shortest path from the start location to the end location. This demo also shows how to apply custom constraints and link cost calculators. |
nearestFeatures.jsp | nearestFeatures.jsp nearestFeaturesAnalysis.jsp |
Find the nearest features from/to the specified location. This demo also shows how to apply custom feature filters. |
nearestNeighbors.jsp | nearestNeighbors.jsp nearestNeighborsAnalysis.jsp |
Find the nearest nodes from/to the specified location. This demo also shows how to apply custom goal node filters. |
networkBuffer.jsp | networkBuffer.jsp networkBufferAnalysis.jsp |
Find the network buffer within the given cost. |
networkBufferStoreCustomer.jsp | networkBufferStoreCustomer.jsp networkBufferStoreCustomerAnalysis.jsp |
Find store in network buffer within the given driving time. |
networkBufferVehicleTracking.jsp | networkBufferVehicleTracking.jsp networkBufferVehicleTrackingAnalysis.jsp |
Track Vehicle in network buffer from predefined route. |
withinCost.jsp | withinCost.jsp withinCostAnalysis.jsp |
Find nodes within the given cost. |
withinCostFeatures.jsp | withinCostFeatures.jsp withinCostFeaturesAnalysis.jsp |
Find nodes within the given cost. |
withinCostPolygon.jsp | withinCostPolygon.jsp withinCostPolygonAnalysis.jsp |
Find the polygon covering the area within the given cost. |
tsp.jsp | tsp.jsp tspAnalysis.jsp |
Perform TSP (Traveling Salesman Problem) analysis. |
vrp.jsp | vrp.jsp vrpAnalysis.jsp |
Perform VRP (Vehicle Routing Problem) analysis. |
kShortestPaths.jsp | kShortestPaths.jsp kShortestPathsAnalysis.jsp |
Find K shortest paths. |
Constraint Implementations | NoHighwayConstraint.java ProhibitedZoneConstraint.java |
Java classes that implement LODNetworkConstraint. |
Link Cost Calculator Implementations | LinkHopCostCalculator.java LinkTimeCostCalculator.java |
Java classes that implement LinkCostCalculator. |
Goal Node Filter Implementations | EvenNodeIdFilter.java | Java classes that implement LODGoalNode. |