Assessing the Cartographic Performance of Real-Time Quadtree-based - - PowerPoint PPT Presentation

assessing the cartographic performance of real time
SMART_READER_LITE
LIVE PREVIEW

Assessing the Cartographic Performance of Real-Time Quadtree-based - - PowerPoint PPT Presentation

Department of Geography Assessing the Cartographic Performance of Real-Time Quadtree-based Generalisation of Point Data Pia Bereuter & Robert Weibel Department of Geography, University of Zurich (UZH) {pia.bereuter |


slide-1
SLIDE 1

Department of Geography

Assessing the Cartographic Performance of Real-Time Quadtree-based Generalisation of Point Data

Pia Bereuter & Robert Weibel Department of Geography, University of Zurich (UZH) {pia.bereuter | robert.weibel}@geo.uzh.ch

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 1

slide-2
SLIDE 2

Department of Geography

ICA Workshop on Generalisation and Map Production, Dresden, 2013

Motivation: Web & mobile maps today

25 Aug 2013

Source: http://www.openstreetmap.org http://www.myswitzerland.com http://www.google.com/publicdata http://map.search.ch/

2

Too Clustered Too generalised Too cluttered

slide-3
SLIDE 3

Department of Geography

Objective

Provide a set of algorithms for on-the-fly generalisation of foreground point data

  • points of interest (POIs)
  • point collections (animal observations, Flickr points etc.)

Proposed approach, contributions

  • exploit properties of quadtrees as an auxiliary data structure for

generalisation

  • develop the major generalisation operators on point sets:

selection, simplification, aggregation and displacement

  • real-time performance
  • Assessing the cartographic performance of the algorithms

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 3

slide-4
SLIDE 4

Department of Geography

Content

  • 1. Background
  • 2. Quadtree-based algorithms for point data generalisation
  • 3. Assessing the cartographic performance
  • 4. Conclusions & outlook

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 4

slide-5
SLIDE 5

Department of Geography

Background

slide-6
SLIDE 6

Department of Geography

Real-time point data generalisation

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 6

Focus today is on real-time generalisation algorithms and the assessment of their cartographic performance. Existing algorithms: Initial solution for real-time aggregation based on the quadtree data structure: Burghardt et al. (2004) and Edwardes et al. (2005) Pre- computation & hierarchical data structures Simple algorithms using heuristics to achieve real- time performance Efficiency Flexibility

slide-7
SLIDE 7

Department of Geography

Quadtree-based algorithms for point data generalisation

slide-8
SLIDE 8

Department of Geography

Useful properties of quadtree for point data generalisation

Property Use Spatial Index Speed up spatial search Hierarchy Progressive subdivision = scale progression Quad coverage Estimates of densities and distribution Topology Quad neighbourhood

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013

Key idea: The quadtree data structure lends itself to a number of simple, yet efficient and effective algorithms. See: Bereuter P and Weibel R, 2013. Real-time generalization of point data in mobile and web mapping using quadtrees. Cartography and Geographic Information Science, 40 (4), 1–11.

8

slide-9
SLIDE 9

Department of Geography

Method: Three main steps

25 Aug 2013

2

Apply generalisation algorithm

1

Create quadtree

3

Storage (optional)

ICA Workshop on Generalisation and Map Production, Dresden, 2013

Target LOD Target LOD

9

slide-10
SLIDE 10

Department of Geography

Object Directed Operators – Point Reduction

  • Selection: Based on attribute

values; no geometric criteria used.

  • Simplification: Centrality

based – use geometric criteria to select subset of points — as in line simplification.

  • Aggregation: Various

principles: midpoint, cluster- based, collocation

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 10

slide-11
SLIDE 11

Department of Geography

Object directed operators – Displacement

25 Aug 2013

4 1 3

A B C

Direction Capacity Total C 1 3 3 B 2 4,3 7 A 1 1 1

M

2 3

C B

ICA Workshop on Generalisation and Map Production, Dresden, 2013 11

slide-12
SLIDE 12

Department of Geography

Storage

25 Aug 2013

Quadnode Occupied leaf Empty leaf Stored generalization result Algorithm search range Level 2 3 1 4 Storage structure for generalisation results for interactive zooming

ICA Workshop on Generalisation and Map Production, Dresden, 2013 12

slide-13
SLIDE 13

Department of Geography

Assessing the cartographic perfomance

slide-14
SLIDE 14

Department of Geography

Implementation

Java Processing http://www.processing.org Open source programming language and IDE (1991 - now)

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 14

slide-15
SLIDE 15

Department of Geography

Data

Swiss Lichens of the Nationales Daten- und Informationszentrum der Schweizer Flechten – WSL, Birmensdorf.

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 15

Species & Collection attribute Species name, Genus, Ecotype, observation date Locality Coordinate (randomised < 1km max), XY precision, Habitat, Substrate Population characteristics Size and vitality Ecology and conservation Red list status, Conservational priority, Ecological indicator (Eutrophication, Humidity, Continentality, Light, Temperatur

Lichen

slide-16
SLIDE 16

Department of Geography

Performance

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013800 ms 16

Small data set Medium data set Large data set

  • ca. 290 points ca. 2800 points
  • ca. 86000 points

Quadtree creation 0.8 ms 8 ms 460 ms Average computation time to move between two different zoom levels Selection 0.13 ms 3 ms 150 ms Median Selection 0.06 ms 2 ms 110 ms Aggregation 0.05 ms 1.6 ms 90 ms Displacement 0.98 ms 13 ms 800 ms

slide-17
SLIDE 17

Department of Geography

SwissLichens Dataset: Displacement Selection, Simplification, Aggregation

Data Reduction

What is the data reduction rate in relation to the zoom level?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 17

Clustered Point Pattern: 20 clusters, stdev. 0.1 Displacement Selection, Simplification, Aggregation Clustered Point Pattern: 10 clusters, stdev. 0.05 Displacement Selection, Simplification, Aggregation Regular Point Pattern: All generalisation operators Random Point Pattern: Displacement Selection, Simplification, Aggregation Radical law

slide-18
SLIDE 18

Department of Geography

Data Reduction

What is the data reduction rate in relation to the zoom level?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 18

SwissLichens Dataset: Displacement Selection, Simplification, Aggregation Radical law with base zoom level 15 Radical law with various base zoom levels Area of positive difference Selection, Simplification, Aggregation Displacement Area of negative difference Selection, Simplification, Aggregation Displacement

slide-19
SLIDE 19

Department of Geography

Conflict reduction

How many overlaps between points symbols are resolved? Quadtree selection operator

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 19

slide-20
SLIDE 20

Department of Geography

Conflict reduction

How many overlaps between points symbols are resolved? Quadtree selection operator

  • including horizontal and

vertical neighbour check

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 20

slide-21
SLIDE 21

Department of Geography

Conflict reduction

How many overlaps between points symbols are resolved? Quadtree selection operator

  • including horizontal and

vertical neighbour check

  • including diagonal neighbour

check

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 21

slide-22
SLIDE 22

Department of Geography

Conflict reduction

How many overlaps between points symbols are resolved? Quadtree selection operator

  • including horizontal and

vertical neighbour check

  • including diagonal neighbour

check

  • Debug view

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 22

slide-23
SLIDE 23

Department of Geography

Conflict reduction

How many overlaps between points symbols are resolved?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 23

Selection with no conflict reduction Selection with horizontal & vertical conflict reduction Selection with diagonal conflict reduction ~ 200ms ~ 450ms ~ 700ms

slide-24
SLIDE 24

Department of Geography

Data Enhancement

How are important point attributes retained?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 24

Map zoom level 10

Least concern Near threatened Endangered species Critically endangered

Red list status (IUCN)

slide-25
SLIDE 25

Department of Geography

Data Enhancement

How are important point attributes retained?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 25

Map zoom level 9

Least concern Near threatened Endangered species Critically endangered

Red list status (IUCN)

slide-26
SLIDE 26

Department of Geography

Data Enhancement

How are important point attributes retained?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 26

Map zoom level 8

Least concern Near threatened Endangered species Critically endangered

Red list status (IUCN)

slide-27
SLIDE 27

Department of Geography

Data Enhancement

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 27

Global selection (Radical Law) Local selection (Quadtree) zoom level 8

Map zoom level 8

Global selection (global hotspots) versus local selection (retaining local context)

Map zoom level 8

slide-28
SLIDE 28

Department of Geography

Displacement Measures

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 28

Centrality-based simplification 647 points How is displacement achieved?

Map zoom level 11

slide-29
SLIDE 29

Department of Geography

Displacement Measures

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 29

Displacement 788 points How is displacement achieved?

Map zoom level 11

slide-30
SLIDE 30

Department of Geography

Displacement Measures

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 30

Displacement 788 points How is displacement achieved?

Map zoom level 11

Cumulative displacement vectors

slide-31
SLIDE 31

Department of Geography

Maintenance of spatial patterns

Is the overall point distribution maintained?

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 31

Kernel Density Estimation Difference between Kernel Density Estimation between two consecutive zoom levels (9 and 10)

slide-32
SLIDE 32

Department of Geography

Conclusions & outlook

slide-33
SLIDE 33

Department of Geography

Discussion

  • Data reduction reflects the underlying spatial distribution of the point data.
  • Conflict resolution reveals where “action-rich” zoom levels are.
  • Data Enhancement shows how the algorithm keeps the local context.
  • Displacement measures highlights displacement and directionality
  • Maintenance of spatial distribution, highlights where most changes

happen.

  • Quadtrees are: sufficiently fast and modular, can be used for storage of pre-

computed states and allow implementing the major generalization

  • perators on points: selection, simplification, aggregation and displacement

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 33

slide-34
SLIDE 34

Department of Geography

Thank you for your attention!

Pia Bereuter pia.bereuter@geo.uzh.ch Robert Weibel robert.weibel@geo.uzh.ch

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 34

slide-35
SLIDE 35

Department of Geography

Stofer, S., Scheidegger, C., Clerc, P., Dietrich, M., Frei, M., Groner, U., Jakob, P., Keller,C., Roth, I., Vust, M., and Zimmermann, E. (2012). Nationales Daten- und Informationszentrum der Schweizer Flechten -

  • SwissLichens. Birmensdorf, Schweiz. Eidgenossische

Forschungsanstalt WSL, Datenbankauszug vom 25. September 2012 (SST 201209).

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 35

slide-36
SLIDE 36

Department of Geography

Midpoint tile-based aggregation

Raw distribution of eating places in the City of Zurich

Aggregation of points inside a quadnode to the tile center Graduated circles: Weighting the point symbols by number of

  • riginal points they

represent.

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 36

slide-37
SLIDE 37

Department of Geography

Selection

25 Aug 2013 14 13 12

Rank-based selection for LOD 14, 13, 12 — for each quadnode, retain the point with the highest observation count.

LOD Scale Points Radical law

14 ~1:36000 ~130 130 13 ~1:72000 ~50 32 12 ~1:144000 ~20 8

ICA Workshop on Generalisation and Map Production, Dresden, 2013

Ibex Chamois Red deer

37

slide-38
SLIDE 38

Department of Geography

Simplification

Centrality-based simplification algorithm applied to POIs.

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 38

slide-39
SLIDE 39

Department of Geography

Simplification

Centrality-based simplification algorithm applied to animal

  • bservations (point collection).

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 39

slide-40
SLIDE 40

Department of Geography

Aggregation

Overlay for LOD 13:

  • Blue points:

Midpoint-based aggregation, with symbol size weighted by number

  • f aggregated points
  • Red points:

Ranking-based selection

  • Purple points:

Overlapping symbols

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 40

slide-41
SLIDE 41

Department of Geography

Aggregation by co-location filtering

Aggregation by co-location Symbol size weighted by number of co-

  • ccurrences for restaurant and parking.

25 Aug 2013 ICA Workshop on Generalisation and Map Production, Dresden, 2013 41

slide-42
SLIDE 42

Department of Geography

Displacement

Centrality-based simplification

25 Aug 2013

Displacement applied after centrality-based simplification  allows retaining more points Alpine ibex Chamois Red deer

ICA Workshop on Generalisation and Map Production, Dresden, 2013 42

slide-43
SLIDE 43

Department of Geography

Process

25 Aug 2013

  • 1. Raw data
  • 2. Centrality-based

generalization

  • 3. Displacement
  • 4. Content Zooming

a) increased LOD b) decreased LOD

ICA Workshop on Generalisation and Map Production, Dresden, 2013

“Content Zooming”: see Bereuter & Weibel (2012, AGILE)

43