Week5: 12 Spatial Queries Flashcards

1
Q

Containment query

A

Given a spatial object O, find all objects in the map that completely contain O
- when O is a point, the query is called point query (point-in-polygon or point location)

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

Region Query

A

Given a region R, find all objects in the map that intersect R
- when R is a rectangle, the query is called ‘Window Query’

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

Enclosure Query

A

Given a region R, find all objects in the map that are completely contained in R

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

Clipping

A

Given a region R, extract all portions of objects in the map that are contained in R

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

Line Intersection Query

A

Given a line L, extract all object in the map that intersect L

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

Adjacency Query

A

Given an object O, extract all objects in the map that are adjacent to O i.e. share a bounding entity

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

Metric Queries

A

relate to distance. Given two objects, how far apart are they?
- Proximity query

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

Nearest Neighbour Query

A

Given an object O, find the object in the map that is closest to O
- typically for points

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

Range Query

A

Given an object O, find all objects in the map that are within a given distance d from O
- typically for points

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

Spatial join

A

Given two sets of spatial objects S & S’, find all pairs (O,O’) of objects such that O e S & O’ e S’, O n O’ not null
- Spatial predicates other than intersection are also possible e.g. all pairs of objects that are within a given distance from each other

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

Map Overlay

A

Given two maps, M & M’, return a third map that contains objects from M & M’ and new objects whose geometry corresponds to the intersection of objects belonging to M & M’

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

Merge Query/Operation

A

Given two or more objects, O & O’, return their geometric union
- this operation is used in map generalisation to perform object aggregation

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

Spatial Queries involve ..

A

the geometry of objects and their spatial relations (in particular topological queries are based on topological properties)
Therefore, it is important to have data structures that support efficient computation of geometric properties and spatial relations

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

GIS query

A

1) What state contains city A

2) What states are crossed by river B

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

Geometric query

A

1) What polygon in the plane subdivision contains point A?

2) What polygons in the plane subdivision are intersected by polyline B

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

Other spatial queries e.g. clipping make extensive use of ….

A

line intersection algorithms that have been proposed in the field of computational geometry