ch 9&10 Flashcards
What are Boolean operators and give an example
Boolean operators test pairs of conditions and return true or false used as part of queries
MAJOR = Geography AND GPA≥3.5
What is a spatial operator and give an example
Test spatial relationships between features used as part of queries
Cities within 50 miles of a volcano.
True or false
Boolean operators have no order of precedence, unlike arithmetic operators
true
What are the three basic operators that test spatial relationships (the three spatial operators)
Intersect, contains/within, proximity
What is the intersect spatial operator
Test whether features touch
What is the contains/within spatial operator
Tests whether one feature is inside of another
What is the proximity spatial operator
Tests whether features are within a specified distance of another
What is the difference between the contains and completely contains spatial operators
Contains operator permits the feature to lie on the edge of the containing feature completely contains operator does not permit a shared boundary
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?
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
Give an example of a spatial query
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
What is the biggest limitation of spatial queries?
Spatial queries can only select or not select entire features. Isolating just portions of features requires a different tool like clip or intersect
What is a buffer and give an example
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
What is the purpose of the dissolved tool when working with buffers in spatial queries
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
What is the purpose of the clip tool. Give an example of when it would be used
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
What is the purpose of the erase tool. Give an example of when it would be be used
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