2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 6: - - PowerPoint PPT Presentation

2ima20 algorithms for geographic data
SMART_READER_LITE
LIVE PREVIEW

2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 6: - - PowerPoint PPT Presentation

2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 6: Schematization Schematic maps Ancient schematic maps Ancient schematic maps Ancient schematic maps Not just for transport More schematic maps Schematic? Schematization What


slide-1
SLIDE 1

2IMA20 Algorithms for Geographic Data

Spring 2016 Lecture 6: Schematization

slide-2
SLIDE 2

Schematic maps

slide-3
SLIDE 3

Ancient schematic maps

slide-4
SLIDE 4

Ancient schematic maps

slide-5
SLIDE 5

Ancient schematic maps

slide-6
SLIDE 6

Not just for transport …

slide-7
SLIDE 7

More schematic maps

slide-8
SLIDE 8

Schematic?

slide-9
SLIDE 9

Schematization

What is schematization? a stylized, abstract representation

 usually simpler than input (relation to simplification)  iconic: few directions of lines, specific curves, …  might preserve topology  some visual resemblance to input

Most commonly schematized

 subdivisions  networks

vertex-restricted or non-vertex-restricted area preserving, topology preserving, using curves or straight lines …

slide-10
SLIDE 10

Network Schematization

slide-11
SLIDE 11

Network schematization

slide-12
SLIDE 12

Network schematization

slide-13
SLIDE 13

Common criteria

 many stations aligned horizontally, vertically or diagonally  sufficient spacing between different lines  connections have at most two bends  stations are not displaced too much

maximum displacement can be different for different stations

slide-14
SLIDE 14

Algorithmic solutions

 many stations aligned horizontally, vertically or diagonally  sufficient spacing between different lines  connections have at most two bends  stations are not displaced too much

maximum displacement can be different for different stations Many iterative approaches solution quality and convergence cannot be guaranteed

slide-15
SLIDE 15

Algorithmic solutions

 many stations aligned horizontally, vertically or diagonally  sufficient spacing between different lines  connections have at most two bends

stations are not displaced too much maximum displacement can be different for different stations [Cabello, de Berg, van Kreveld, 2005] combinatorial approach:

 replace every connection by one of a schematic type  define a top-to-bottom placement order on connections  place each connection in its topmost position that gives no

  • verlap
slide-16
SLIDE 16

Algorithmic solutions

[Cabello, de Berg, van Kreveld, 2005] combinatorial approach:

 replace every connection by one of a schematic type  define a top-to-bottom placement order on connections  place each connection in its topmost position without overlap

slide-17
SLIDE 17

Formalization

Definitions A (polygonal) map M is a set of simple polygonal paths {c1, …, cm} such that two paths do not intersect except at shared endpoints. A monotone map is a map where all paths are x-monotone.

slide-18
SLIDE 18

 keep cyclic order of paths around endpoints  each path of the schematic map is a deformation of the original

path, without passing over endpoints

 or, each path in the original map is a deformation of a path in the

schematic map, without passing over the endpoints more formally …

Potential issues

slide-19
SLIDE 19

Formalization

Definitions Two maps M and M’ are equivalent if an only if

 they have the same endpoints  each path of M can be continuously deformed to a path of M’

without passing over the endpoints schematic path: axis-aligned, x-monotone, at most 3-links … Formal problem statement Given a polygonal map M, compute an equivalent map M’ whose paths are schematic.

  • ptional: minimum vertical distance, shared (pieces of) paths …
slide-20
SLIDE 20

Formalization

Formal problem statement Given a polygonal map M, compute an equivalent map M’ whose paths are schematic.

  • ptional: minimum vertical distance, shared (pieces of) paths …

[Cabello, de Berg, van Kreveld, 2005] combinatorial approach:

 replace every connection by one of a schematic type  define a top-to-bottom placement order on connections  place each connection in its topmost position without overlap

slide-21
SLIDE 21

Formalization

Formal problem statement Given a polygonal map M, compute an equivalent map M’ whose paths are schematic.

  • ptional: minimum vertical distance, shared (pieces of) paths …

[Cabello, de Berg, van Kreveld, 2005] combinatorial approach:

 replace every connection by one of a schematic type  define a top-to-bottom placement order on connections  place each connection in its topmost position without overlap

slide-22
SLIDE 22

Definition Point p is below/above path c if any continuous deformation of c, that does not pass over p, intersects the vertical upper/lower ray from p.

 to decide whether a point is above or below a path, we do not

consider other points

Below and above a curve

p2 p1 c

slide-23
SLIDE 23

Below and above a curve

Definition Point p is below/above path c if any continuous deformation of c, that does not pass over p, intersects the vertical upper/lower ray from p. c p c p c p p is both above and below c p and c have no relation p is below c

slide-24
SLIDE 24

Canonical sequences

slide-25
SLIDE 25

Definition Path c is above path c’ if any endpoint of c is above c’ or any endpoint of c’ is below c. Lemma The above-below relation among paths is invariant between equivalent maps.

Order among paths

not related below below

slide-26
SLIDE 26

Lemma The above-below relation among paths is invariant between equivalent maps. ➨ the above-below relation is preserved in the schematic map ➨ if the above-below relation is acyclic, extend to order and use to place schematic connections topmost Remaining questions Is there always an order? If there is an order, can we can compute it efficiently? Does an order imply a schematic map exists? At least for certain types of connections?

Order among paths

slide-27
SLIDE 27

Is there always an order? Lemma For a monotone map M, the above-below relation among paths is

  • acyclic. Furthermore, if M has complexity n, a total order extending

this relation can be computed in O(n log n) time. Definition Path c is above path c’ if any endpoint of c is above c’ or any endpoint of c’ is below c. for x-monotone paths equivalent to Path a is above path b (denoted a ► b) if and only if there are points (x, ya) ∈ a and (x, yb) ∈ b with ya > yb.

Order among paths

No

slide-28
SLIDE 28

Computing above-below relationships

If there is an order, can we can compute it efficiently? Theorem For a map M of total complexity n, we can decide in O(n log n) time whether an equivalent, monotone map exists.

slide-29
SLIDE 29

Computing above-below relationships

Theorem For a map M of total complexity n, we can decide in O(n log n) time whether an equivalent, monotone map exists. Proof 1. decompose M into x-monotone pieces 2. compute a rectified map M’ in O(n log n) time

slide-30
SLIDE 30

Computing above-below relationships

More details …

slide-31
SLIDE 31

Computing above-below relationships

Theorem For a map M of total complexity n, we can decide in O(n log n) time whether an equivalent, monotone map exists. Proof 1. decompose M into x-monotone pieces 2. compute a rectified map M’ in O(n log n) time 3. transform rectified map M’ into monotone map N if possible 4. if N is monotone, compute order in O(n log n) time

slide-32
SLIDE 32

Computing above-below relationships

Theorem For a map M of total complexity n, we can decide in O(n log n) time whether an equivalent, monotone map exists. Schematization of networks Sergio Cabello, Mark de Berg, and Marc van Kreveld Computational Geometry 30:223–238, 2005 Testing Homotopy for Paths in the Plane Sergio Cabello, Yuanxin Liu, Andrea Mantler, and Jack Snoeyink Discrete & Computational Geometry 31(1):61-81, 2004

slide-33
SLIDE 33

Schematic maps

Does an order imply a schematic map exists? At least for certain types of connections? But if we specify the types of schematic connections, we can test … Intuition we can only use schematic connections together that have a clear topmost placement … x-monotone ordered schematic map model No No

slide-34
SLIDE 34

Schematic map models

x-monotone ordered schematic map models

slide-35
SLIDE 35

Algorithm

Input: a map M and an x-monotone ordered schematic map model Output: an equivalent schematic map M’ or “does not exist”

1.

compute above-below relations among paths of M

2.

if acyclic, complete to order, otherwise return “does not exist”

3.

place paths (topmost each) in order return “does not exist” if placement is not possible Running time: O(n log n) where n is the complexity of M maintain lower envelop of already-placed connections …

slide-36
SLIDE 36

Results

slide-37
SLIDE 37

Results

slide-38
SLIDE 38

Results

“does not exist”

slide-39
SLIDE 39

Output

slide-40
SLIDE 40
slide-41
SLIDE 41

Territorial Outlines

slide-42
SLIDE 42

Area-preserving schematization

slide-43
SLIDE 43

Area-preserving schematization

slide-44
SLIDE 44

Requirements

 Few orientations  Few lines  Preserve “shape”  Area  Topology  Single operation  Complete for polygons

}

 Minimize distance function?

slide-45
SLIDE 45

Distance measures

slide-46
SLIDE 46

The idea

Given a simple subdivision

1.

Convert to rectilinear

 area-preserving 2.

Contract configuration

 choose greedily  until satisfied

slide-47
SLIDE 47

Rectilinearization

 Convert simple subdivision into simple rectilinear subdivision  Area-preserving  Preserve adjacencies  Minimize angular deviation

slide-48
SLIDE 48

Rectilinearization

 Assign direction to each vertex of each edge  Minimize angular deviation  Sharp endpoints

slide-49
SLIDE 49

Rectilinearization

 For each edge  Create staircase  Use evasive behaviour for sharp endpoints

slide-50
SLIDE 50

Rectilinearization

 Increase in complexity  Depends on distance between non-adjacent edges  Depends on angle between adjacent edges

slide-51
SLIDE 51

Rectilinearization

slide-52
SLIDE 52

S-configuration

 S-configuration  3 consecutive edges  2 different turns

slide-53
SLIDE 53

S-contraction

 S-contraction  Replace by 1 edge  Weighted average  Feasible  Contraction area is empty

slide-54
SLIDE 54

Deadlock

slide-55
SLIDE 55

C-contractions

 C-configuration  3 consecutive edges  2 similar turns  Inner & outer C-configuration  C-contraction  Inner & outer C-configuration  Remove smallest  Compensate for area change

slide-56
SLIDE 56

Completeness for polygons

Theorem A rectilinear polygon with at least 6 edges has

 a feasible inner C-configuration  a feasible S-configuration

  • r a feasible outer C-configuration

A contraction is always possible Generalizes to C-oriented polygons …

slide-57
SLIDE 57

Results for polygons

slide-58
SLIDE 58

Results for polygons

  • Building generalization
slide-59
SLIDE 59

C-oriented polygons: edge moves

slide-60
SLIDE 60

C-oriented polygons: edge moves

slide-61
SLIDE 61

Edge-moves

slide-62
SLIDE 62

Combining edge-moves

slide-63
SLIDE 63

Completeness

  • Theorem. Every simple non-convex polygon has a non-conflicting pair
  • f complementary feasible contractions.
  • Corollary. Every simple C-oriented polygon can be schematized area-

preservingly with at most 2|C| edges using only edge-moves.

slide-64
SLIDE 64

Schematization algorithm

 Convert input to C-oriented subdivision  Until satisfied  Execute pair of edge-moves with smallest contraction area

slide-65
SLIDE 65

Experimental results

slide-66
SLIDE 66

Experimental results

slide-67
SLIDE 67

Experimental results

slide-68
SLIDE 68

Experimental results

slide-69
SLIDE 69

Experimental results

slide-70
SLIDE 70

Experimental results

slide-71
SLIDE 71

Still open …

 Orientation selection  Edge-move selection  Adding orientations  When to stop?

slide-72
SLIDE 72

Curved Schematization

slide-73
SLIDE 73

Curved networks

slide-74
SLIDE 74

Curved networks

slide-75
SLIDE 75

Curved networks

slide-76
SLIDE 76

Curved networks

slide-77
SLIDE 77

Curved networks

slide-78
SLIDE 78

Curved networks

slide-79
SLIDE 79

Curved outlines

Area preserving circular arcs

slide-80
SLIDE 80

Curved outlines

Area preserving circular arcs

slide-81
SLIDE 81

Curved outlines

Area preserving circular arcs Bézier curves

slide-82
SLIDE 82

Curved outlines

slide-83
SLIDE 83

Extreme Schematization

slide-84
SLIDE 84

Chorematic diagrams

 Extreme generalization combined with schematized geometries

Generalization “process by which information is selectively removed from a map in

  • rder to simplify pattern without distortion of overall content”

[Heywood et al. ’98]

slide-85
SLIDE 85

Chorematic diagrams

slide-86
SLIDE 86

Chorematic diagrams

slide-87
SLIDE 87

Extreme Schematization

slide-88
SLIDE 88

Extreme Schematization

slide-89
SLIDE 89

Inspiration

Stenography The Dog

slide-90
SLIDE 90

Stenomaps

slide-91
SLIDE 91

Stenomaps

slide-92
SLIDE 92

Hurricane path prediction

slide-93
SLIDE 93

Hurricane path prediction

slide-94
SLIDE 94

Rivers as locational aid

[Guylaine Brun-Trigaud] [Grosser Atlas zur Weltgeschichte, 1991]

slide-95
SLIDE 95

Stenomaps

slide-96
SLIDE 96

Solar potential in Europe

slide-97
SLIDE 97

Solar potential in Europe

slide-98
SLIDE 98

Solar potential in Europe

slide-99
SLIDE 99