Benjamin Post Cole Kelleher. Availability Data must maintain a specified level of availability to...

10
Benjamin Post Cole Kelleher Databases and GIS

Transcript of Benjamin Post Cole Kelleher. Availability Data must maintain a specified level of availability to...

Page 1: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Benjamin PostCole Kelleher

Databases and GIS

Page 2: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Database Characteristics

1. Availability

Data must maintain a specified level of availability to the users

2. Performance

Database requests must be executed within time thresholds

3. Isolation between users

Concurrency

Commits/Rollbacks

4. Data Independence

Reduces redundancy, storage requirements

5. Self-describing

Able to describe the stored data using schemas

Page 3: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Comprised of relations between individual pieces of data

Concepts:

Table

Also known as relation, contains attributes and tuples

Attributes

Columns, stores the individual pieces of data

Tuples

Rows, forms the relationship between the data in the columns.

MUST BE UNIQUE ENTRY

Relational Databases

Page 4: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Diagrams Entities and their Attributes, and the Relationship

between entities.

Entity-Relationship Model

Employee Office BranchWorks at

NameStart DateSalary

AddressOffice HoursOffice Phone

1 N

Page 5: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Comprised of objects stored in memory

Concepts:

State

Defines information about the object, i.e. geographic location

Behaviors

Actions that the object can perform or actions which modify an object

Inheritance

Similar to Object-Oriented Programming, objectscan inherit state and behavior

from other objects

Object-Oriented Databases

Page 6: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Built on set theory and relational algebra

Data definition language

SQL can be used to define and create the database

Data manipulation language

INSERT

UPDATE

DELETE

Queries via SELECT

Structured Query Language (SQL)

Page 7: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Geometries in Oracle Spatial are split into two data types:

1. SDO_GEOMETRY• Stores the geometry as is.• Requires a larger storage space due to redundancy.• Useful for queries that retrieve the entire geometry of a feature.

2. SDO_TOPO_GEOMETRY• Stores geometry using topological elements.• Allows for topology management over multiple features.• Decreased redundancy and thus decreased storage space.• Supports topological queries and processing

Oracle Spatial is an open format and is compliant on a large number of platforms.Geometry data types are restricted to two dimensions.

Oracle Spatial – Geometries and Rasters

Page 8: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

GeoRaster in Oracle Spatial is used to handle raster data.

• Uses its own “GeoRaster” data type to standardize the rasters stored in the database instead of storing the variety of raster file types that exist.

• Employs the SDO_GEORASTER data type for the storage of the raster data.• Also uses the SDO_GEOMETRY data type to store the spatial extent of the

raster data for ease of indexing. • This is a logically layered multidimensional data model that stores each

raster band as a layer.• Further development needed in geoprocessing and modeling capabilities.

Page 9: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

Post GIS is an extension of PostgreSQL for spatial databases.• Certified under the OGC as a “Simple Features for SQL” database.• Supports spatial joins in which two tables are joined on a spatial relationship.• OGC compliancy means it is applicable to a large quantity of open source

software and some proprietary software.• Further development is needed for three dimensional modeling and raster

integration.

PostGIS

Page 10: Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.

GRASS is an open source GIS package that can conduct spatial analysis and modeling.

• Supports both vector and raster data with three dimensional capabilities.

• Is able to interact with a variety of useful software packages to aid statistical operations, spatial analysis and processing.

• GRASS is OGC compliant which means its source code is available for the user to manipulate to fit his or her needs and contribute to the software itself.

• High level interoperability means an increase in flexibility and performance.

• GRASS is able to connect to a variety of RDBMS for ease of integration.

Geographic Resources Analysis Support Software (GRASS)