SpaDaGIS Efficiency Issues in Multi-resolution Terrain Modeling Leila De FlorianiPaola Magillo Leila De Floriani * Paola Magillo Department of Computer Science University of Genova, Genova (Italy) * currently at the University of Maryland, College Park, MD
SpaDaGIS Terrain Models Terrain data points in the plane height values Terrain model triangle mesh connecting the points linear interpolation of heights
SpaDaGIS Multi-Resolution Large-size data sets high storage space and processing timemulti-resolution Dynamically adapt resolution to user needs tradeoff accuracy / size
SpaDaGIS Regular and Irregular Multi-Resolution Models Data on a grid / scattered data Regular / irregular multi-resolution models Both are instances of a Multi-Triangulation Compare efficiency of data structures and of queries
SpaDaGIS Changing the Resolution of a Mesh Modification: Modification: two alternative sets of triangles covering a region at lower / higher resolution Can adapt resolution by playing with modifications
SpaDaGIS The Multi-Triangulation (MT) base mesh A base mesh modifications A set of modifications partial order A partial order (dependency relation) M2 depends on M1 iff M2 changes some triangles changed by M1
SpaDaGIS Irregular MT: Vertex-Based MT Data Data: scattered Modification Modification: vertex insertion Built while refining a mesh through vertex insertion (VI) OR Built while decimating a mesh through vertex removal single vertex (VR) set of independent vertices (IVR)
SpaDaGIS HRT Regular MT: Hierarchy of Right Triangles (HRT) Data Data: on a regular grid Modification Modification: simultaneous bisection of two adjacent right triangles
SpaDaGIS Data Structure for Vertex-Based MT Partial order As a directed acyclic graph Modifications modification M = two triangle meshes (M-,M+) triangles of M+ uniquely defined triangles of M- must be encoded Coordinatesheightvalues Coordinates and height values of vertices Approximation Approximation errors of triangles
SpaDaGIS Data Structure for Vertex-Based MT Encode the triangles of M- anchor edge bit stream (depth-first traversal of a tree of triangles)
SpaDaGIS Data Structure for HRT location code Each triangle uniquely identified by a location code Partial order and modifications are retrieved from location codes and not stored Height values Height values of vertices Approximation errors Approximation errors of triangles
SpaDaGIS Comparison: Storage Costs of the Data Structures n = number of data points Full-resolution mesh Full-resolution mesh = 54n bytes Vertex-based MT in theory = 33n bytes in practice depends on construction process (VI, VR, IVR) HRT HRT = 6n bytes
SpaDaGIS Comparison: Queries to Extract a Mesh Variable resolution Variable resolution focused in a window error triangles Worse (more triangles) Uniform resolution Uniform resolution on the whole domain Better (fewer triangles) Plot:
SpaDaGIS Comparison: Uniform Resolution Best = VI Motivation: error-driven construction strategy VR IVR HRT VI Mount Marcy Devil Peak HRT VR IVR VI
SpaDaGIS Comparison: Uniform Resolution HRT triangles VI triangles
SpaDaGIS Comparison: Uniform Resolution HRT 3648 triangles VI 1951 triangles
SpaDaGIS Comparison: Variable Resolution Best = HRT Worst = VR Motivation: smaller modifications, fewer dependency links Mount Marcy VR VI IVR HRT VR VI IVR HRT Devil Peak
SpaDaGIS Comparison: Variable Resolution HRT 1614 triangles VI 2072 triangles
SpaDaGIS Summary Data distribution Space required wrt the mesh at the maximum resolution LOD Queries Vertex- based anyabout halfbetter at a uniform resolution Right triangles on a gridabout 1/9better at a variable resolution
SpaDaGIS The End