1 analysis i: selection and an introduction to planning an analysis

24
1 Analysis I: Selection And an introduction to planning an analysis

Upload: polly-franklin

Post on 18-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Analysis I: Selection And an introduction to planning an analysis

1

Analysis I: Selection

And an introduction to planning an analysis

Page 2: 1 Analysis I: Selection And an introduction to planning an analysis

2

Topics

• Selection and its booby traps• A Project• Demo

Page 3: 1 Analysis I: Selection And an introduction to planning an analysis

3

Selection

• Three ways to select…– Manual using the tool– Select by Attribute– Select by Location

• Booby Trap

Page 4: 1 Analysis I: Selection And an introduction to planning an analysis

4

Nitty-Gritty

• Limiting what can be selected• Set it in Selection TOC tab• Or• In Selection menu / Set Selectable

Layers• This is good practice because• Doing this prevent you from

selecting the wrong layer

Page 5: 1 Analysis I: Selection And an introduction to planning an analysis

5

Select by AttributeRight Layer?List only selectable FCsKind of selectionFields in layer

Operation

SQL statement

Page 6: 1 Analysis I: Selection And an introduction to planning an analysis

6

Booby Traps

• Not selecting from right layer• Not paying attention to the

selection process– Create New Selection– Add to the current selection– Remove from the current selection– Select from the current selection

Page 7: 1 Analysis I: Selection And an introduction to planning an analysis

7

Select by Attribute

Page 8: 1 Analysis I: Selection And an introduction to planning an analysis

8

Select from current selection

• Still Tax Parcels• But I want only

those parcels that area >4.9 acresa

Page 9: 1 Analysis I: Selection And an introduction to planning an analysis

9

Select by Location

Page 10: 1 Analysis I: Selection And an introduction to planning an analysis

10

Analysis Options: Location

• Intersect• Are within a distance of• Completely Contain• Are completely within• Have their centroid in• Touch the boundary of• Share a line segment with• Are identical to• Are crossed by the outline of• Contain• Are contained by

Page 11: 1 Analysis I: Selection And an introduction to planning an analysis

11

Options: Intersect

Page 12: 1 Analysis I: Selection And an introduction to planning an analysis

12

Options:Touch Bndy of…

Page 13: 1 Analysis I: Selection And an introduction to planning an analysis

13

Options: Have their Center in…

Page 14: 1 Analysis I: Selection And an introduction to planning an analysis

14

Options: Are completely w/in…

Page 15: 1 Analysis I: Selection And an introduction to planning an analysis

15

Options: w/in a distance of…

Page 16: 1 Analysis I: Selection And an introduction to planning an analysis

16

Options: are contained by…

Page 17: 1 Analysis I: Selection And an introduction to planning an analysis

17

Options: are contained by…

Page 18: 1 Analysis I: Selection And an introduction to planning an analysis

18

The Problem• Ripemoff Power Co needs to…

– Find areas where, in Martinsburg, Willow can be grown and harvested with farm types of machinery

– The requirements are…

Page 19: 1 Analysis I: Selection And an introduction to planning an analysis

19

TaxParcel Requirements

• Land USE must be Ag..• Land Cover must be

Ag• Slope in the parcel . . .

must be everywhere less than or equal to 8%.

• Tax parcels must be . . 50 acres or more

• No wetlands• No ponds

.. Tax Parcel data [CLS]

.. Landsat data [grid code]

.. Slope from DEM & processed into poly shape

.. TaxParcel data [acres]

… MartDECwet…Ponds

Page 20: 1 Analysis I: Selection And an introduction to planning an analysis

20

TaxParcel Requirements

• Land USE must be Ag..• Land Cover must be

Ag• Slope in the parcel . . .

must be everywhere less than or equal to 8%.

• Tax parcels must be . . 50 acres or more

• No wetlands• No ponds

.. Select by Attribute

.. Select by Attribute

.. Complex raster processing

.. Select by Attribute

… Select by location…Select by location

Page 21: 1 Analysis I: Selection And an introduction to planning an analysis

21

TaxParcel Requirements• Land USE must be Ag..• Land Cover must be

Ag• Slope in the parcel . . .

must be everywhere less than or equal to 8%.

• Tax parcels must be . . 50 acres or more

• No wetlands• No ponds

.. [cls]>=120 AND [cls] <200

.. [gridcode]=4

.. [slope>]=8

… [acres]>=50

… Switch selection… Ditto

Page 22: 1 Analysis I: Selection And an introduction to planning an analysis

22

Switch?

Selected unselectedUnselected Selected

Selected = NOT(selected)

Where?

Page 23: 1 Analysis I: Selection And an introduction to planning an analysis

23

Plan

TAX

AREA OKCLS OK

Export

attribute

CLS OK AREA OK

BOTH OK

INTERSECT

CLS OK

TAX

BOTH OK

NEW SET attribute

Sel from sel’ed setArea ok

Page 24: 1 Analysis I: Selection And an introduction to planning an analysis

24

Summary

• Selection processing can solve a lot of problems in analysis

• Booby traps abound – due on not paying attention

• Choice of – Saving the results of each operation– Or using the “select from selected

set” trick