Oracle Spatial Network Data Model Demo | 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. |
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. |
withinCost.jsp | withinCost.jsp withinCostAnalysis.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. |
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. |