Week3: 05 Spatial Data Struct1: Spaghetti Flashcards

1
Q

Spatial data structures requirement

A

In general, it is important to be able to manipulate efficiently, still maintaining a low spatial complexity
Requirement:
The stored information must allow for an unambiguous representation of the dataset

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

Spatial data structures can be evaluated in terms of…

A

1) Space complexity: amount of space (memory) needed for storing all information (entities and relations) that is explicitly represented
2) Time complexity: of the algorithms that calculate important info. (e.g. connectivity relations) that is not explicitly stored/represented

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

Topological relations

A

intersections of different components of entities (interior, boundary, exterior)

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

Two types of vector datasets:

A

1) Generic sets of entities : any possible top relations

2) Overlayed sets of entities (plane subdivisions): only meet and disjoint

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

A relation is constant if ..

A

if it involves a constant number of entities

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

A relation is variable if ..

A

if it involves a variable number of entities

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

Spaghetti data structure properties

A

1) represents sets of points, lines & polygons
2) can be used for both generic sets of entities and overlayed sets (plane subdivision)
3) the geometry of any spatial entity is described independently of other entities
4) No topology info is recorded
5} For each polygon, we store an (ordered) list of coordinates of points on its boundary (not the same as FV relation)

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

Another data structure

A

Points and polygons are related: for each polygon, we store ordered list of points (IDs not coordinates) on its boundary: FV relation

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

Spaghetti data structure Pros and cons

A

Pros:
1) simplicity
2) easy insertions of new entities (all entities are independent)
Cons:
1) inefficient for topological queries
2) redundancies (& consequently, possible inconsistencies)

Note 1: coordinates of points along common boundary are recorded twice
Note 2: No easy way of solving queries e.g. adjacency queries

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