56
GIS 1 GIS Lecture 8 Spatial Data Processing

GIS Lecture 8 Spatial Data Processing

  • Upload
    wirt

  • View
    42

  • Download
    0

Embed Size (px)

DESCRIPTION

GIS Lecture 8 Spatial Data Processing. Outline. Extracting Features by Attributes Location Proximities Geoprocessing Tools Model Builder. Extracting Features. Attribute Query Extraction. You have tracts for state but want one county only. Attribute Query Extraction. - PowerPoint PPT Presentation

Citation preview

Page 1: GIS Lecture 8 Spatial Data Processing

GIS 1

GIS Lecture 8Spatial Data Processing

Page 2: GIS Lecture 8 Spatial Data Processing

GIS 2

Outline•Extracting Features by Attributes•Location Proximities•Geoprocessing Tools•Model Builder

Page 3: GIS Lecture 8 Spatial Data Processing

GIS 3

Extracting Features

Page 4: GIS Lecture 8 Spatial Data Processing

GIS 4

Attribute Query Extraction•You have tracts for state but want one county only

Page 5: GIS Lecture 8 Spatial Data Processing

GIS 5

Attribute Query Extraction•Select tracts by County ID

Page 6: GIS Lecture 8 Spatial Data Processing

GIS 6

Export Selected Features Right-click to export selected features

Page 7: GIS Lecture 8 Spatial Data Processing

GIS 7

Add Exported Layer

Page 8: GIS Lecture 8 Spatial Data Processing

GIS 8

Location Proximities

Page 9: GIS Lecture 8 Spatial Data Processing

GIS 9

Select by Location•Identify spatial relationships between layers•Finds features that are within another layer.

Input: County Census TractsCan’t use Select By Attributes

Output:City tracts only

Page 10: GIS Lecture 8 Spatial Data Processing

GIS 10

Select by Location Select feature to extract tracts to (city outline)

Page 11: GIS Lecture 8 Spatial Data Processing

GIS 11

Select by Location Selection, Select By Location

Page 12: GIS Lecture 8 Spatial Data Processing

GIS 12

Export Selection and Add Layer

Page 13: GIS Lecture 8 Spatial Data Processing

GIS 13

Other Select by Location Queries•Toxic release sites within 1 mile of a river

Page 14: GIS Lecture 8 Spatial Data Processing

GIS 14

Other Select by Location Queries•Points near points•Schools within ½ mile of polluting companies

Page 15: GIS Lecture 8 Spatial Data Processing

GIS 15

Other Select by Location QueriesPolygons intersecting linesMunicipalities that intersect Interstates

Page 16: GIS Lecture 8 Spatial Data Processing

GIS 16

Other Select by Location QueriesLines intersecting polygons

Page 17: GIS Lecture 8 Spatial Data Processing

GIS 17

Other Select by Location Queries•Buildings whose centers are in emergency zones

Page 18: GIS Lecture 8 Spatial Data Processing

GIS 18

Geoprocessing Tools OverviewClipping Features

Page 19: GIS Lecture 8 Spatial Data Processing

GIS 19

Geoprocessing Tools•GIS Operation to manipulate data•Typically take input data sets, manipulate, and produce output data sets•Often use multiple data sets

Page 20: GIS Lecture 8 Spatial Data Processing

GIS 20

Geoprocessing Tools Clip Dissolve Intersect Union Append

Page 21: GIS Lecture 8 Spatial Data Processing

GIS 21

Clipping Features

Page 22: GIS Lecture 8 Spatial Data Processing

GIS 22

Clip“Cookie cutter” to select features

=

Page 23: GIS Lecture 8 Spatial Data Processing

GIS 23

Clipping Features (Points, Lines, Polygons)

X Y Z

=

=

=

Page 24: GIS Lecture 8 Spatial Data Processing

GIS 24

Line (Arc) Clipping Input layer - Streets

Clip layer – Central Business District (selected)

Output layer - Streets within Central Business District

Page 25: GIS Lecture 8 Spatial Data Processing

GIS 25

Clip Geoprocessing Tool

Page 26: GIS Lecture 8 Spatial Data Processing

GIS 26

Difference Between Clipping and Select by LocationClip: Clean “cut”

Select by Location:Dangle edges

Page 27: GIS Lecture 8 Spatial Data Processing

GIS 27

Dissolving Features

Page 28: GIS Lecture 8 Spatial Data Processing

GIS 28

Dissolve Aggregates items that have the same value

#

Item1

C2

R3

C4

I

Page 29: GIS Lecture 8 Spatial Data Processing

GIS 29

Dissolve Example You have states but need regions

Page 30: GIS Lecture 8 Spatial Data Processing

GIS 30

Dissolve Functions ArcToolBox or Command Line Window

Page 31: GIS Lecture 8 Spatial Data Processing

GIS 31

Dissolve FieldField with a common value for each feature (e.g. Sub_Region)

Page 32: GIS Lecture 8 Spatial Data Processing

GIS 32

Statistics Field Aggregated field can be summarized using a statistics type (i.e. state population can be aggregated by population for each region)

Page 33: GIS Lecture 8 Spatial Data Processing

GIS 33

Resultant Dissolved Regions Layer

Page 34: GIS Lecture 8 Spatial Data Processing

GIS 34

Appending Features

Page 35: GIS Lecture 8 Spatial Data Processing

GIS 35

Append Appends features together

Page 36: GIS Lecture 8 Spatial Data Processing

GIS 36

Append Streets Separate street layers for neighborhoods

Page 37: GIS Lecture 8 Spatial Data Processing

GIS 37

Append Streets Choose both street layers to append

Page 38: GIS Lecture 8 Spatial Data Processing

GIS 38

Resultant Layer One street layer with all records and field items

Page 39: GIS Lecture 8 Spatial Data Processing

GIS 39

Union Features

Page 40: GIS Lecture 8 Spatial Data Processing

GIS 40

Union Use Union when you want to overlay two polygon layers so that the resulting output layer

a) has the combined attribute data of the polygons in the two inputs, and

b) contains all the polygons from the inputs, whether or not they overlap.

Page 41: GIS Lecture 8 Spatial Data Processing

GIS 41

UnionStart with Pittsburgh ZIP codes and Neighborhoods

Page 42: GIS Lecture 8 Spatial Data Processing

GIS 42

Union Attributes tables contain different data

Page 43: GIS Lecture 8 Spatial Data Processing

GIS 43

Union Union neighborhoods and ZIP Codes to include the zip on each neighborhood polygon

Page 44: GIS Lecture 8 Spatial Data Processing

GIS 44

Union Result: Polygons are unioned with same information Tips: Same Projections, Order of Layers

Page 45: GIS Lecture 8 Spatial Data Processing

GIS 45

Intersecting Features

Page 46: GIS Lecture 8 Spatial Data Processing

GIS 46

Intersect Use Intersect when you want to overlay a layer with the polygons in another layer so that the resulting output layer - has the combined attribute data of the features in the two inputs, and - only contains features that fall within the spatial extent of the overlay polygons

Page 47: GIS Lecture 8 Spatial Data Processing

GIS 47

IntersectFlood zones that intersect buildings

Page 48: GIS Lecture 8 Spatial Data Processing

GIS 48

Intersect Result is only building polygons that intersect floodzones with combined data fields

Page 49: GIS Lecture 8 Spatial Data Processing

GIS 49

Model Builder

Page 50: GIS Lecture 8 Spatial Data Processing

GIS 50

Model Builder•Workflow processes can be complicated•Automates and strings functions together

Page 51: GIS Lecture 8 Spatial Data Processing

GIS 51

Model Builder Problem:•You have census tracts from a state with population data but only want population for neighborhoods in a small region

Solution:•Use Model Builder functions to clip census tracts and union to aggregate data to neighborhoods

Page 52: GIS Lecture 8 Spatial Data Processing

GIS 52

Model Builder Example Begin with census tracts for the state of Pennsylvania

Page 53: GIS Lecture 8 Spatial Data Processing

GIS 53

Model Builder Example•Clip only tracts whose centers are located within Pittsburgh neighborhoods •Union the census tracts and neighborhoods

Page 54: GIS Lecture 8 Spatial Data Processing

GIS 54

Model Builder Example Run the model…

Page 55: GIS Lecture 8 Spatial Data Processing

GIS 55

Model Builder ExampleDisplay and query the results

Page 56: GIS Lecture 8 Spatial Data Processing

GIS 56

Summary Extracting Features•Attribute Queries•Select by Location

Converting Shapefiles Geoprocessing Tools•Clip•Dissolve•Union•Intersect•Append

Model Builder