ch 9&10 Flashcards

1
Q

What are Boolean operators and give an example

A

Boolean operators test pairs of conditions and return true or false used as part of queries
MAJOR = Geography AND GPA≥3.5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a spatial operator and give an example

A

Test spatial relationships between features used as part of queries
Cities within 50 miles of a volcano.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or false
Boolean operators have no order of precedence, unlike arithmetic operators

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the three basic operators that test spatial relationships (the three spatial operators)

A

Intersect, contains/within, proximity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the intersect spatial operator

A

Test whether features touch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the contains/within spatial operator

A

Tests whether one feature is inside of another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the proximity spatial operator

A

Tests whether features are within a specified distance of another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the difference between the contains and completely contains spatial operators

A

Contains operator permits the feature to lie on the edge of the containing feature completely contains operator does not permit a shared boundary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the target and source features/layers when executing a spatial query. In the example counties that contain volcanoes, which is the target and which is the source?

A

The target layer is the one from which the features will be selected
the source layer is the one that the target features are compared to
in the example, counties are the target layer and volcanoes are the source layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Give an example of a spatial query

A

Select counties that contain volcanoes
Select counties that intersect (touch) rivers
Select cities that are within 50 miles of a volcano
Select rivers that intersect Texas
Select counties within 50 miles of a major airport
Select states with borders that touch Nebraska

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the biggest limitation of spatial queries?

A

Spatial queries can only select or not select entire features. Isolating just portions of features requires a different tool like clip or intersect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a buffer and give an example

A

A type of spatial query that delineates the area or boundary of the region within a specific distance of a set of features
ring buffers showing the hundred meter drug-free zones around schools
buffers around streams showing where logging is off limits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of the dissolved tool when working with buffers in spatial queries

A

By default, each feature gets its own buffer and the default buffers often overlap each other so any area calculations are wildly inflated. The dissolved tool is used in order to generate a single, clean buffer region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of the clip tool. Give an example of when it would be used

A

The click tool works like a cookie-cutter to extract features that lie inside the boundary of another data set

Clip could be used to extract roads that lay inside the boundary of the city limit and remove the parts of the roads that are outside of the city limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of the erase tool. Give an example of when it would be be used

A

Erase is very similar to the clipped tool. It also works like a cookie-cutter to extract features but it extracts the features that lie outside of the boundary rather than the ones that lie inside the boundary of another data set

Erase could be used to extraction the roads that lay outside the boundary of the city limit and remove the parts of the roads that are inside the city limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference between joins and overlay GIS

A

Both join and overlay combine the data tables from two sources but they differ in how they treat overlapping features. Joint features remain whole. Overlay features are split to create new features

17
Q

What is a spatial join

A

Any spatial join, the records are matched using a spatial relationship instead of a key field. These relationships are some variation of the spatial operators from queries (intersection, proximity, containment)

18
Q

What would happen in a spatial join using intersect to join zoning to parcels

A

Parcels is the target table, so a new parcels feature class is created
the zoning record that intersects each parcel is attached to the parcel in the output table

19
Q

What would happen in a spatial join using proximity to join airports to cities

A

Cities is the target later so a new feature class (layer) cities is created
each city in the output table contains information from the closest airport

20
Q

What would happen in any spatial join using containment to join geology to septic tanks

A

Skeptics is the target so a new septic’s feature class is created
each output septic system is assigned to the record of the geology unit that it falls within

21
Q

What is the type of cardinality that cannot be joined

A

One (target) to many (join)

22
Q

What is the difference between join type and cardinality

A

spatial join types offer options for how to handle one too many cardinality. Often times a one to one spatial join will be performed on tables with a one to many cardinality

23
Q

What is one to many join type

A

A spatial join type used to create multiple copies of the target feature until there enough for each matching record in the join table when handling a one to many cardinality

24
Q

What is a one to one join type

A

Multiple matching records in the join table are summarized using a merge rule creating a single summarized record that can be joined to the target feature

25
Q

What is the cardinality of join zones to parcels. there are usually multiple parcels within one zone. What kind of join do we use?

A

many (target)(parcels) to one (join)(zones)
*remember that we say cardinality the opposite of the way we say join
multiple Parcels usually lie within a single zone so the expected cardinality is many to one.
A 121 join works well here

26
Q

What is the current cardinality of cities near airports and what kind of Join do we use

A

A one-to-one cardinality is expected
a one-to-one join works well

27
Q

What is the cardinality of highways and soils and how should they be joined. You wish to determine the soil characteristics for each Highway to help plan maintenance based on which segment of the highway overlaps which kind of soil

A

Soils to highways
cardinality: highways (one) (taget) to soils (many)(join)
1:many
using a one to many joint tape would create multiple copies of each highway to match every soil unit it crosses so instead we should use a one-to-one joint type with merge rules

28
Q

What kind of merge rules can numeric fields use? In the Highway soil example given example of a merge rule that might be used on a numeric field

A

Statistical merge rules like mean or sum.

In the example, the clay and slope fields were assigned a mean rules of the each Highway gets the average of the matching records

29
Q

What kind of merge rules can be used for text or categorical fields? Give an example of how this might be used in the Highway soil example

A

First rule, concatenate rule
a new field was created to store a list of values from each soil unit crossed using the concatenate rule

30
Q

What are the two types of overlay? How are they different

A

Union combines two polygon layers keeping all areas and merging all attributes for both layers whether they overlap or not
Intersect also merges the attributes for two layers but only keeps the areas that overlap between the two layers. Intersect can be used for points lines or polygons

31
Q

What is the usual goal of the union overlay? Give an example

A

The usual goal is to combine all of the data and the extent of the data sets is typically the same.

In a union overlayed hazards table it can be queried for combinations of values that are susceptible to geologic hazards for example rock fall hazards in areas of high slope or high competence.

32
Q

What is typically the goal of intersect overlay? Give an example

A

The usual goal is to find overlapping areas were certain conditions hold notice suitability analysis

queries are first performed to find the suitable conditions for what a snail habitat requires for example elevation range, limestone, and dense conifers
the selected features are then intersected to find where they overlap to determine the possible areas of a scale habitat

33
Q

What is the difference between intersect and clip

A

Intersect joins the attributes, clip does not

34
Q

Spatial Joins, overlay types, area-weighted recalculation, union vs intersect

A
35
Q
A