data storage and processing

70
Data Storage and Processing GIS Topics and Applications

Upload: john-reiser

Post on 05-Dec-2014

982 views

Category:

Education


5 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Data Storage and Processing

Data Storage and Processing

GIS Topics and Applications

Page 2: Data Storage and Processing

GIS Models Over Time

• Simple Representation– CAD model

• Data Analysis– Raster model

• Data Collection– Vector model

• Relational and Rules– Object model

Page 3: Data Storage and Processing

Coding Vector GIS

PolygonI

PolygonII

PolygonIII

PolygonV

PolygonIV

node

A

node

Bnode

C

node

E node

F

node

G

node

D

Reality Vector Mode Model of Reality

You’ve seen this before.

Let’s break it down.

Page 4: Data Storage and Processing

PolygonI

PolygonII

PolygonIII

PolygonV

PolygonIV

node

A

node

Bnode

C

node

E node

F

node

G

node

D

Page 5: Data Storage and Processing

PolygonI

PolygonII

PolygonIII

node

A

node

Bnode

C

node

E node

Fnode

D

A topologic vector model records the points and linesshared between polygons as unique items, thus every oneof the points and lines are recorded in the data only once.

Page 6: Data Storage and Processing

PolygonII

node

A

node

Bnode

C

node

E

node

D

Polygon 2 is on the right sideof the line ABCED.

Page 7: Data Storage and Processing

PolygonI

PolygonII

PolygonIII

PolygonV

PolygonIV

node

Anode

E node

Fnode

D

Polygon 2 knows it’s adjacent to Polygons 1, 3, & 4.It shares a line segment with each.

Polygon 2 knows it touches Polygon 5.It shares node E with Polygon 5.

Page 8: Data Storage and Processing

PolygonI

PolygonII

PolygonIII

PolygonV

PolygonIV

node

A

node

Bnode

C

node

E node

F

node

G

node

D

Strict Topology

• Features are composed from a common set of points and lines.

• Altering the vertices of one polygon affects polygons that share those vertices.

• Harder to introduce gaps or slivers.

Page 9: Data Storage and Processing

Objects

• GIS Features as Objects is a recent method of representing aspects of the real-world in GIS

• Example of the shift from specialty data to DBMS that are spatially-aware

• Non-planar, temporally shifting, topologically linked, rule-based actions

• Still important to check for topology to ensure as a quality control step

Page 10: Data Storage and Processing

Vector Geometry as Objects

• Parcels– Planar geometries with attribute information

• Parcels as objects in a Cadastral “carpet”– Objects with topology rules (“don’t overlap, unless”)– Members of “regional” features (zoning, municipality)– Composed of surveyed parts (COGO, benchmarks)– Keys that link to attribute tables (owner(s), assessments,

plans, etc)

Page 11: Data Storage and Processing

Cadastre Example

benchmark survey (COGO) parcels zones

Page 12: Data Storage and Processing

Attributes as Objects• Not only can multiple sets of geospatial features interact

with rules, the attributes can be linked with one another, with their own set of rules and actions

• Ownership record linked to GIS parcel– Search on multiple owners, records– Removal of parcel warns about “orphan” owner

• Functions that can be performed by GIS analyst can be embedded in the actual database

Page 13: Data Storage and Processing

Manipulating Vector Mode Databases

Page 14: Data Storage and Processing

Common Operations

• Selection by Attributes or Location• Dissolve• Append• Clip• Intersect• Union

Page 15: Data Storage and Processing

Select by Attributes

• Create WHERE clauses that match a subset of the features in a vector dataset.

• WHERE clauses are a part of Structured Query Language (SQL)

• Analogous to "Find" in some other software.• Match all records where…– "COUNTY" = 'Gloucester'– NOT "TYPE" = 'Wetlands'– "POP2000" > 100000

Page 16: Data Storage and Processing

Select by Location

• Proximity or overlay based on features in one layer and features in another layer or the same layer.

• Several methods to compare proximity & overlay– Distance from– Touching (on edge)– Contains or Within– Partial Overlaps– Exact Matches

Page 17: Data Storage and Processing

Dissolve

Page 18: Data Storage and Processing

Dissolve FeaturesInput Output

Page 19: Data Storage and Processing

Append

Page 20: Data Storage and Processing

Layers to Append

Input Layer 1 Input Layer 2

Appended Layers

Overlapping Polygons/Polylines are preserved!

Page 21: Data Storage and Processing

Clip

Page 22: Data Storage and Processing

Output Layer

Clipped Features

Input Layer & Clipping Layer

Input Layer

Clip Polygon

Page 23: Data Storage and Processing

Intersect

Page 24: Data Storage and Processing

Intersection

• Where are the Road segments that are in flood prone areas.

• Select flood prone from Input Layer 1

• Intersect roads and flood prone [Layer 2].

Page 25: Data Storage and Processing

Stream

No Flood

FloodProne

Intersect Features

Input Layer 1

Roads

Input Layer 2

Panel 1

Page 26: Data Storage and Processing

Stream

No Flood

FloodProne

Intersect Features

Input Layer 1

Input Layer 2

Roads

Question: where are the road segments that pass through flood prone areas?

Panel 1

Page 27: Data Storage and Processing

Stream

No Flood

FloodProne

Intersect Features

Roads

Input Layer 1

Input Layer 2

Select flood prone areas and then intersect Input Layer 1 with Layer 2 Roads.

Panel 2

Page 28: Data Storage and Processing

Study Area

FloodProne

Intersect Features

Output Layer

Roads that pass through flood prone areas. Attributes of both layers maintained in table.Length of roads in flood areas becomes attribute

Roads

Panel 3

Page 29: Data Storage and Processing

Intersection

• Where are the places that are residential and flood prone?

• Select flood prone from Input Layer 1• Select residential from Input Layer 2• Intersect

Page 30: Data Storage and Processing

Stream

No Flood

FloodProne

Intersect Features

Input Layer 1

Panel 1

Page 31: Data Storage and Processing

Intersect Features

Input Layer 2

Residential

CommercialIndustry

Open space Panel 2

Page 32: Data Storage and Processing

Stream

No Flood

FloodProne

Intersect Features

Input Layer 1

Input Layer 2

Residential

CommercialIndustry

Open space Panel 3

Page 33: Data Storage and Processing

Extent

Intersect Features

Output Layer

Residential &Flood Prone

Panel 4

Page 34: Data Storage and Processing

Panel 1

Panel 2

Panel 3Panel 4

Page 35: Data Storage and Processing

Union

Page 36: Data Storage and Processing

Agricultural Land Use

Corn

Green Beans

Tomatoes

Wheat

Panel 1

Page 37: Data Storage and Processing

Soil Quality

Poor

Fair

Good

Excellent

Panel 2

Page 38: Data Storage and Processing

Agricultural Land Use

Corn

Green Beans

Tomatoes

Wheat

Soil Quality

Poor

Fair

Good

Excellent

Corn &Poor Green Beans & Poor

Green Beans & Fair

Tomatoes & Fair

Tomatoes & Good

Wheat & Good

Wheat & Excellent

Corn & Excellent

Panel 3

Page 39: Data Storage and Processing

Let’s See How It Works

Page 40: Data Storage and Processing

Dissolve

Page 41: Data Storage and Processing

Dissolve Operation

1. Right Click

2. Click to select.

Page 42: Data Storage and Processing

1. Click to open menu

2. Click to open Add Field dialog

Add Field for Dissolve

Page 43: Data Storage and Processing

Type a name and click OK

Name and Type of Field for Dissolve

Page 44: Data Storage and Processing

Table with Code Field

Resulting field

Page 45: Data Storage and Processing

DoubleClick

Click

Click

Do the Dissolve

Page 46: Data Storage and Processing

4

2

3

1

Dissolve Dialog

Page 47: Data Storage and Processing

Dissolve

Page 48: Data Storage and Processing

Click

Click

DoubleClick

Append Operation

Page 49: Data Storage and Processing

4

2

3

1

Append Dialog

Page 50: Data Storage and Processing

AppendTwo layers before append One layer after append

Page 51: Data Storage and Processing

Click

Click

DoubleClick

Clip Operation

Page 52: Data Storage and Processing

2

3

1

Clip Dialog

Page 53: Data Storage and Processing

ClippingRoads before clipping Roads after Clipping

Page 54: Data Storage and Processing

Intersection

Page 55: Data Storage and Processing

Intersection Procedure

• Where are the areas that are residential in land use and flood prone?– Select flood prone areas from flood prone layer– Select residential areas from land use layer– Do intersection

Page 56: Data Storage and Processing

Intersect

Page 57: Data Storage and Processing

Residential

Page 58: Data Storage and Processing

Select by Attributes Dialog

Selecting flood prone and water areas

Page 59: Data Storage and Processing
Page 60: Data Storage and Processing

Select by Attributes Dialog

Selecting residential areas

Page 61: Data Storage and Processing
Page 62: Data Storage and Processing
Page 63: Data Storage and Processing

Click

Click

DoubleClick

Intersection Operation

Page 64: Data Storage and Processing

4

2

3

1

56

Intersection Dialog

Remember, if you did a selection, then get input features from drop down or drag into dialog from TOC

Page 65: Data Storage and Processing

Intersection Result

Page 66: Data Storage and Processing

Intersection

Result

Page 67: Data Storage and Processing

Union

Page 68: Data Storage and Processing

Click

Click

DoubleClick

Union Operation

Page 69: Data Storage and Processing

4

2

3

5

1

Union Dialog

Page 70: Data Storage and Processing

This map depicts land use patterns for a portion of Washington Township prior to performing the union operation in which land use and flood prone layers were overlain.

This map depicts land use patterns for a portion of Washington Township after performing the union operation in which land use and flood prone layers were overlain. Notice that some of the land use polygons have been cut creating new polygons. This occurs in areas in which a polygon from the flood prone layer intersects a land use polygon. The attributes of the new layer enable the analyst to map the coincidence of each land use category with each flood proneness category.