Giter Club home page Giter Club logo

spatial-viewer-panthera's Introduction

Spatial-Viewer-Panthera

A java swing application that connects to oracle database to query spatial data. This project was developed as part of one of the assignment in CSCI 585 at University of Southern California.

Library Used

Problem Statement

Description: In this projecy you’ll write a program to create an application with a GUI, which allows users to interact with the spatial data provided in the first part of the homework. In case you choose to use Java, you will use JDBC in your java program to communicate with the oracle database.

Specification: When the user runs your program, it must fetch all regions, all ponds and all lions from the oracle database and show them in the GUI. Here are the original colors that you should use to show the geometries:

  • boundary/border of each region must be displayed in black color ● interior of each regions must be displayed in white color
  • boundary/border of each pond must be displayed in black color ● interior of each pond must be displayed in blue color.
  • each lion must be displayed in green color The GUI should interact with the user in the following way:
  • Display a checkbox with title “show lions and ponds in the selected region”
  • If the checkbox “show lions and ponds in selected region” is checked and the user clicks on a region, the GUI must show all the lions and ponds inside the region in red color.
  • After clicking on one region, if the user clicks on another region, lions and ponds in the previously clicked region must be reset to their original colors.
  • If the user unchecks the checkbox “show lions and ponds in selected region”, all the lions and ponds must be reset to their original colors.

Output

The code was developed in java using the java awt package and uses oracle spatial geometry for querying Oracle Spatial Database.

Output Image

spatial-viewer-panthera's People

Contributors

rahulravindran0108 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.