



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




The goal of this assignment is to design an application that queries a spatial database. This assignment will make you familiar with spatial data types using Oracle10 g , Oracle Spatial features, and Java (JDBC). You are required to write two Java programs to 1) store and 2) query your spatial database.
Scenario: For security purposes, USC campus is installed with a surveillance camera network composed of many cameras that are mounted on the rooftops of buildings. These cameras are used to monitor and track small vehicles in the campus (e.g. motorcycles, bicycles). The related information is stored and managed in a spatial database that you are going to design.
Input Files: You will be given three files:
c). vehicle.xy. Col 1: vehicle ID. Col2: x coordinate of the vehicle location. Col3: y coordinate of the vehicle location. Col4: vehicle’s type.
Required .sql files: You are required to create two .sql files:
Required Java Programs: You are required to implement two Java programs:
right mouse button to close the polygon. The vertices should be connected by red line segments on the screen as they are being selected. When the Range Query radio button is unchecked, the selected polygon should disappear.
brown color (if they are motorcycle).