2 Pages

Lab5-sp06

Course: CS 3480, Fall 2009
School: U. Houston
Rating:
 
 
 
 
 

Word Count: 1152

Document Preview

Data Spatial Management and Design and Creation of a Database for this Purpose COSC 3480 Lab5 Last updated: March 29, 2006 Project # 5 (total score =300) Deadlines: April 13. 10a: Submit status report in class (the report should outline what you plan to do in Project5 and what has already been done) April 24, 10a: Submit final project report electronically to Cindy The goal of the project is to design and...

Register Now

Unformatted Document Excerpt

Coursehero >> Texas >> U. Houston >> CS 3480

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Data Spatial Management and Design and Creation of a Database for this Purpose COSC 3480 Lab5 Last updated: March 29, 2006 Project # 5 (total score =300) Deadlines: April 13. 10a: Submit status report in class (the report should outline what you plan to do in Project5 and what has already been done) April 24, 10a: Submit final project report electronically to Cindy The goal of the project is to design and create a spatial database, fill it with data, develop an interface to the database using the Oracle/C# platform1 that allows inserting new information and correcting errors in the database. Moreover, a small set of spatial data management functions should also be implemented in the project and calling these functions should also be supported in the user interface. Finally, a report that summarizes the results of the projects has to be written and Project5 short presentations and demos have been scheduled for Tu., April 25, 8:30-11:30a. Your database should contain 3 different types of spatial data objects, at least one of those should be higher dimensional describing a surface (2 dimensional) or a curve (1-dimensional). One example, could be that your database contains (water-) wells, rivers (1-dimensional, typically these objects are described by sequences of lines), and cities. Another example could be counties in Texas (2-dimensional, typically these objects are described by a polygon that separates the points outside and inside the spatial object), cities, and roads (1dimensional) that connect the cities. Moreover, in addition to spatial attributes (usually longitude and lattitude is used to represent spatial information) some meaningful non-spatial attributes should be associated with the spatial objects in the database you will design. Your database should be filled with meaningful data, some of which should be "real"; e.g. if your database contains rivers the Medina river which is loacted in the Hill Country might be stored in your database. Your database should contain at 10 instances of typses of spatial objects that are zero-dimensional, and at least 5 instances for higher dimensional spatial objects. Moreover, 2-3 spatial data management functions should be supported by the software you develop, possible candidates include: 1. Support for nearest neighbor queries: e.g. find the closest river to a given well 2. Support of containment queries: e.g. find all cities inside a county 3. Support for touching queries: e.g. find all neighboring counties of Harris county 4. Support for crossing queries: e.g. find all rivers that cross Harris county 5. Support for cheapest path queries: e.g. find the shortest route from Uvalde to Utopia, Texas based on a given road graph 6. Support for distance-scans that enumerates spatial objects in increasing distance from a given query point 7. Support for non-topological queries that compute the distance, direction of two points; compute the size of a two-dimensional spatial object, compute the length of a 1-dimensional spatial object (e.g. a river) Finally, a "user friendly", interactive application program front end to your database should be developed using the Oracle C# platform that will be discussed in the 3480 Lab. The interface supports inserting new spatial objects into your database, and allows correcting erroneous data in your database. The implementation of your interface should check consistency constraints to avoid erroneous updates of the database, and provide error handling capabilities in the case of an incorrect update. Finally, the interface supports calling the 2-3 spatial data management functions you selected to support in the project. 1 If you do not use the C#//Oracle and platform use other software instead a penalty of 10% will be assessed on the implementation part of the project. Spatial Data Management and Design and Creation of a Database for this Purpose COSC 3480 Lab5 Spatial objects are usually stored relying on object-based models in which objects are stored as tuples with their spatial and non-spatial attributes. However, a raster / field based view also has some popularity that uses field functions that charaterize spatial dataobjects; e.g. you could define a function f(x,y) representing Brazos-Bend State Park, that if you input a particular longitude/lattitude pair f returns true if the location is inside Brazos Bend State Park and false, otherwise --- sometimes, these field functions are defined on grid-structure to safe space and to facilitate computations. Both object-based and field-based approaches are suitable for Project5! In general, this project is defined more openly (you have more freedom in deciding what problems to solve and how to solve them --- if you have doubts about what you plan to do feel free to talk to Cindy or Dr. Eick), and might require some reading and search on your own --- there are a lot spatial data on the web that could be used to fill your database. In general, the correctness, quality, originality, and complexity of your designed system will be taken into consideration when determining the project grade; moreover, the quality of your report is also considered. You should also be prepared to demo your system on April 25, 2006. Hints: Initially, the focus of the project should be how to represent the 3 types of spatial objects in your databse and on supporting the 2-3 spatial data management functions you selected. We suggest that you develop a simple user interface for your system intitially, and then try to make it more sophisticated, depending on how much time you have left. Moreover, add capabilities to your program to check integrity constraints with respect to updates of the database; provide exception handlers that raise exceptions in the case that an update of the database is incorrect. Also if you have problems completing the project, make sure that your program solves at least some subtasks c...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

U. Houston - CS - 6367
Quadratic Programming Solutions of the Transportation ProblemJustin Thomas The following solutions were derived using the quadprog Matlab function. This quadratic programming function is only available with the Optimization Toolkit.Problem 1 F2 C
U. Houston - CS - 6367
Documentation of XCSFJava 1.1 plus VisualizationMartin V. Butz MEDAL Report No. 2007008 July 2007 AbstractThis report gives an overview of the XCSFJava 1.1 code, available from the web. The document species where to get the code and how to compile
U. Houston - CS - 4368
U. Houston - CS - 6367
What is an Evolutionary Algorithm?Chapter 2A.E. Eiben and J.E. Smith, What is an Evolutionary Algorithm? With Additions and Modifications by Ch. EickContents Recapof Evolutionary Metaphor Basic scheme of an EA Basic Components: Representa
U. Houston - CS - 6367
Numerical OptimizationsGeneral Framework: objective function f(x1,.,xn) to be minimized or maximized constraints: gi(x1,.,xn) leq/eq 0 (i=1,.,m) xi >= 0 i=1,.,n (optional)sApproaches: Classical: Differentiate the function and find points w
U. Houston - CS - 4368
Assignment 3 Dr. Eick's COSC 4368 Spring 2008 Theorem Proving and Reasoning in Uncertain EnvironmentsDue dates: Problems 11,12, 14: Saturday, April 26, 9p Problem 10: Submit 12page report by Mo., April 28, noon; be prepared to demo your program on
U. Houston - CS - 6367
Quiz1 COSC 6367 Evolutionary Programming Tu., Feb. 20, 2007Your Name: Your SSN:Problem 1 - Selection and Survival of the Fittest [11]: Problem 2 - ES and Rechenberg's Rule [8] Problem 3 - Crossover and Mutation [9] Problem 4 - Genetic Programming
U. Houston - CS - 4368
Grades 4368 in Spring 2008 MT1 MT2 Final Weighted-Exam Average 4368-Grade 1644 80 70 66 70.94 C+hell 80 69 60 67.95 C+0281 81 89 83 84.10 B+
U. Houston - CS - 6340
2005 Exams COSC 6340 Number GradesIDENT EX0 MT FINAL3175 89 909111 83 86smvb 88 931979 83 771818 71 -abab 90 740102 85
U. Houston - CS - 3480
Grading COSC 3480 Fall 2005 CodeName EX1 EX2 FIN PRO Score Grade qlwr 75 80 66 74 72.86 C+ XTRM 87 90 75 86 83.6 B+ IECO 96 92 98 100 97.24
U. Houston - CS - 4350
Dr. Christoph F. Eick COSC 4350 ASSIGNMENTS Spring 1997 Remark: The file will be
U. Houston - CS - 3480
Computation of the Overall Score COSC 3480P0' = P0*5 - 5P1' = if P1>93 then 2*P1 - 100 else 0.8*P1 + 12P2' = 1.5*P2 + 12P3' = if P3>93 then 2*P3 - 100 else 0.8*P3 + 12H' = H+3
U. Houston - CS - 6367
Review List Final Exam COSC 6367:The final exam is scheduled for Th., May 10, 2-4p in our class room and will be "open everything"; at least 80% of the material covered in the exam will center on material that was covered in the COSC 6367 lecture
U. Houston - CS - 6367
Learning Classifier Systems: A Brief IntroductionLarry BullFaculty of Computing, Engineering & Mathematical Sciences University of the West of England Bristol BS16 1QY, U.K. Larry.Bull@uwe.ac.uk[Learning] Classifier systems are a kind of rule-bas
U. Houston - CS - 4368
Uncertainty Management1. Fuzzy Logic 2. Dempster/Shafer's Theory of evidence 3. Interval Approaches1Fuzzy SetLet X denote a space of objects. definition: A fuzzy set A in X is a set of ordered pairs A = {(x, A (a)}, xX where A (x) is termed the
U. Houston - CS - 6367
Optimal Solutions to Dr. Eick's Linear Programming ProblemsPaul J. Ledbetter III February 15, 2007In the forthcoming project for Dr. Eick's Evolutionary Programming class, our goal is to minimize the total cost for a particular transportation probl
U. Houston - CS - 4368
Artificial Intelligence: Its Roots and Scope1.1 From Eden to ENIAC: Attitudes toward intelligence, Knowledge, and Human Artifice 1.2 Overview of AI Application Areas 1.3 1.4 1.5 Artificial Intelligence A Summary Epilogue and References ExercisesG
U. Houston - CS - 4368
Artificial Intelligence Programming COSC 4368 Midterm Exam1 Solution Sketches Tuesday, February 26, 2008Name: SSN:1.Curve: round (79.5+ (9.5/6*(x29.5)Best First Search and A* (8 points) 2. Backtracking (8 points) 3. Playing Games (8 points) 4.
U. Houston - CS - 6367
Quiz1 COSC 6367 Evolutionary Programming Th. Feb. 21, 2008 Solution DraftYour Name: Your SSN:Problem 1 - Selection and Survival of the Fittest [14]: Problem 2 - ES [10] Problem 3 - Crossover and Mutation [10] Problem 4 - Genetic Programming [9] Pr
U. Houston - COSC - 4377
COSC 4377, Fall 200011/27/00LAN Addresses and ARPIP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node LAN interface s card (adapter card) on the local LAN 48 bit MAC a
U. Houston - COSC - 4377
Slides from TCP/IP - ForouzanChapter 16DNS Name Space Domain Name Space Distribution of Name Space DNS in the Internet Resolution DNS Messages Types of Records CompressionCOSC 6377 - Fall 2000 16-1Forouzan NotesFigure 16-1Domain na
U. Houston - COSC - 4377
Slides from TCP/IP - ForouzanChapter 4IP Addressing Decimal Notation Classes Special Addresses A Sample Internet Unicast, Multicast, and Broadcast Addresses Applying for IP Addresses Private NetworksCOSC 6377 - Fall 2000 4-1Forouzan Not
U. Houston - COSC - 4377
COSC 4377, Fall 200011/20/00Link Layer Protocols1Link Layer Services Framing and link access: m encapsulate datagram into frame adding header and trailer, m implement channel access if shared medium, m` physical addresses'are used in frame h
U. Houston - COSC - 4377
COSC 4377, Fall 200011/2/00Routing in the InternetThe Global Internet consists of Autonomous Systems (AS) interconnected with each other:r r rStub AS: small corporation Multihomed AS: large corporation (no transit) Transit AS: providerT
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Socket Programming1/29/01Socket programmingGoal: learn how to build client/server application that communicate using sockets Socket API introduced in BSD4.1 UNIX,socketa host-local, applicationcreated/owned, OS-contr
U. Houston - COSC - 4377
COSC 4377, Spring 2001, RPC - Supplement2/27/01Remote Procedure CallOutlineProtocol Stack Presentation Formattingbased on section 5.3 of Peterson & Davies bookPeterson & Davie 1RPC TimelineClientReque stServer BlockedBlockedReplyC
U. Houston - COSC - 4377
COSC 4377, Fall 2000 - Chapter 3a10/10/00Chapter 3: Transport LayerChapter goals: understand principlesChapter Overview:behind transport layer services:r transport layer services multiplexing/demultiplexing connectionless transport: UD
U. Houston - COSC - 4377
COSC 4377, Fall 200011/27/00Hubs, Bridges, and Switches (oh my)Used for extending LANs in terms of geographical coverage, number of nodes, administration capabilities, etc. Differ in regards to:r rcollision domain isolation layer at which t
U. Houston - COSC - 4377
Slides from TCP/IP - ForouzanChapter 24Socket Interface Sockets Socket System Calls Connectionless Iterative Server UDP Client-Server Programs Connection-Oriented Concurrent Server TCP Client-Server ProgramsForouzan NotesCOSC 6377 - Fal
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Chapter 4b4/4/01IP datagram formatIP protocol version number header length (bytes) "type" of data max number remaining hops (decremented at each router) upper layer protocol to deliver payload to 32 bits ver head. type o
U. Houston - COSC - 4377
Slides from TCP/IP - ForouzanChapter 5Subnetting and Supernetting Subnetting Masking Examples of Subnetting Variable-Length Subnetting SupernettingForouzan NotesCOSC 6377 - Fall 20005-1Figure 5-1A network with two levels of hierarc
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Chapter 2, Part A9/18/01chapter 2: Application LayerChapter goals:conceptual + implementation aspects of network application protocols m client server paradigm m service models r learn about protocols by examining popul
U. Houston - COSC - 4377
COSC 4377, Spring 20011/24/01Protocol "Layers"Networks are complex! many "pieces": r hosts r routers r links of various media r applications r protocols r hardware, softwareIs there any hope of organizing structure of network? Or at least our
U. Houston - COSC - 4377
COSC 4377, Spring 20011/22/01Part I: IntroductionChapter goal: get context, overview, "feel" of networking more depth, detail later in course approach: r descriptive r use Internet as example Overview: what' the Internet s what' a protocol?
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Chapter 5b4/4/01LAN technologiesData link layer so far:rNext: LAN technologiesrservices, error detection/correction, multiple accessaddressing r Ethernet r hubs, bridges, switches r 802.11 r PPP r ATM5: DataLink
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Chapter 2, Part A1/29/01Chapter 2: Application LayerChapter goals: conceptual +implementation aspects of network application protocolsrMore chapter goals specific protocols:r r r r rhttpclient server paradigm
U. Houston - COSC - 4377
COSC 4377, Fall 2000 - Chapter 3b10/24/00TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581point-to-point:rone sender, one receiverfull duplex data:rreliable, in-order byte steam:rrpipelined:rno message boundaries TCP conges
U. Houston - COSC - 4377
COSC 4377, Fall 2000 - Chapter18/29/00Part I: IntroductionChapter goal: get context, overview, feel of networking more depth, detail later in course approach: r descriptive r use Internet as example Overview: what the Internet s what a prot
U. Houston - COSC - 4377
COSC 4377, Fall 2000 - Chapter 4a10/26/00Chapter 4: Network LayerChapter goals: understand principlesChapter Overview:behind network layer services:r r r r network layer services routing principle: path instantiation androuting (pat
U. Houston - COSC - 4377
COSC 4377, Spring 20018/29/01Part I: IntroductionChapter goal: r get context, overview, "feel" of networking r more depth, detail later in course r approach: m descriptive m use Internet as example Overview: r what' the Internet s r what' a prot
U. Houston - COSC - 4377
COSC 4377, Fall 2000 - Chapter 2 Part B9/25/00DNS: Domain Name SystemPeople: many identifiers:rSSN, name, Passport #Domain Name System: distributed databaseInternet hosts, routers:rrIP address (32 bit) used for addressing datagrams
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Chapter 74/24/01Chapter 7: Network securityFoundations: Security in practice:what is security? cryptography authentication message integrity key distribution and certificationapplication layer: secure e-mail
U. Houston - COSC - 4377
COSC 4377, Spring 2001 - Chapter 5a4/4/01Chapter 5: The Data Link LayerOur goals: understand principlesOverview:behind data link layer services:r link layer services error detection, correction multiple access protocols andrr rer
U. Houston - COSC - 4377
Part I : I ntroductionC hapte goal: r ge conte ove w, "fe l" t xt, rvie e of ne tworking m de ore pth, de late in tail r course approach: r de scriptive r useI nte t as e rne xam ple Ove w: rvie what's theI nte t rne what's a protocol? ne twor
U. Houston - COSC - 4377
Errata=We all occasionally make mistakes. We're proud of the quality of ourtextbook, but in a first edition book with more than 700 pages, a coupleof typos are bound to slip in. The errata below lists the mistakes thatwe'll fix in the next pr
U. Houston - COSC - 6377
COSC 6377, Fall 200011/2/00HTTP Protocol, Proxy,andCOSC 6377 Term Project TutorialT. Mark Huang http:/www.cs.uh.edu/~jsteach/cosc6377/The Web: the http protocolhttp: hypertext transfer protocol Web application layer s protocol client/ser
U. Houston - COSC - 2
CS 4310 Programming Exercise Building a ParserDue Date: Midnight, Monday, Oct 23 Using bison, you are to write a parser for a subset of Pascal. A grammar for this language appears below: start block procdcls procdcl parmlist parms parm variables var
U. Houston - COSC - 4310
CS 4310 Programming Exercise Building a ParserDue Date: Midnight, Monday, Oct 23 Using bison, you are to write a parser for a subset of Pascal. A grammar for this language appears below: start block procdcls procdcl parmlist parms parm variables var
U. Houston - COSC - 4377
FAQ for Assignment #4, COSC 4377, Fall 2000Last update: Nov. 22, 20001) Do we have to use select()? [11/13/2000]A: No. I planned to use select() for this assignment. After I ran some sample programs and found that recvfrom() can take more t
U. Houston - COSC - 4377
COSC 4377, Fall 2000HW2HW2HW2UIDHW1discprogtotalHW3HW4MT#1MT#2FinalTotal===========ABE181201141349819570548274.80AKM8100451401859620070526272.05ASM269451071529818580427572.10BHM26620114
U. Houston - COSC - 4377
Bring a file under RCS control:RCS is a software tool for UNIX systems which lets people manage multiplerevisions of files. RCS saves all old revisions and does it in a spaceefficient way. Old revisions can be retrieved according to the revision
U. Houston - COSC - 4377
Bring a file under RCS control:RCS is a software tool for UNIX systems which lets people manage multiplerevisions of files. RCS saves all old revisions and does it in a spaceefficient way. Old revisions can be retrieved according to the revision
U. Houston - COSC - 4377
Chapter 4: Network LayerChapter goals: understand principlesOverview:selectionbehind network layer services:r r r r network layer services routing principle: path hierarchical routing IP Internet routing protocols instantiation andr
U. Houston - HW - 2
COSC 6318 Object-Oriented Analysis and DesignHomework #2Due: 5:15PM Feb. 28thFor the problem statement given below, 1. Draw a usecase diagram showing actors and usecases 2. Provide the flow of events for each use case, listing the basic paths
U. Houston - ASSIGN - 1
Assignment 1 Due Monday April 25th 6PM Homework #4 due Monday April 25th 6PM Feel free to ask any questions over the email. Please note that this is not a group effort. Assume that I am asked to write a middle tier (I am not required to writer the UI
U. Houston - HW - 3
Homework #3 Due April 19th 6PM in class. Name: _ Student ID: _A few problem statements are given below. For each one of them answer the following questions: (a). What creational pattern you may use to solve this problem? (b). Explain how you would
U. Houston - ASSIGN - 1
Assignment 1 Due Monday April 12th 6PM Online submission (Note: The online submission will refuse to accept assignments after the deadline You are asked to submit the assignment ahead of time and as many times as you please. Your last submission will
U. Houston - ASSIGN - 2
Assignment 2 email zip of all your code by 11:59PM May 9thThis is not a group project. Beware of the Academic Honesty Policy.Write a C+, Java or .NET program that will allow you to design a kitchen.The program presents a list of appliances you c
U. Houston - HW - 1
COSC 6318 HW1 Due Monday February 23th 5:45PM(Note. No late submissions will be accepted)Please turnin a hard copy in class. Remote students, please hand over thecopy to your remote site administrator by the deadline.Name: _ Student ID: _A
U. Houston - HW - 3
HW 3 Due April 18th 6PM1. What OO Design Principle is evident in the application of Iterator Pattern on different types of collections? 2. One major concern about implementing an interface to traverse through a collection is performance. Ho
U. Houston - HW - 1
COSC 6318 Object-Oriented Analysis and DesignSpring 2003Homework #1Due Feb. 19th 5:45PM in classDevelop the class diagram (in UML) for the following system. A "draw" utility program lets users draw several geometric objects on adiagr