July 13 2006 1 A TEN-Based DBMS Approach for 3D Topographic Data Modeling Friso Penninga (TUD), Peter van Oosterom (TUD), and Baris M. Kazar (Oracle) SDH.

Slides:



Advertisements
Similar presentations
GUS: 0262 Fundamentals of GIS
Advertisements

CSE554Cell ComplexesSlide 1 CSE 554 Lecture 3: Shape Analysis (Part II) Fall 2014.
Oracle Spatial and Mapviewer Problems From Real World Applications.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Ruslana Mys Delaunay Triangulation Delaunay Triangulation (DT)  Introduction  Delaunay-Voronoi based method  Algorithms to compute the convex hull 
Mesh Representation, part II based on: Data Structures for Graphics, chapter 12 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Atomic Volumes for Mesh Completion Joshua Podolak Szymon Rusinkiewicz Princeton University.
Peter van Oosterom, project leader (TU Delft) 3D Topography.
June 2, Mathematics and geo-information, what to present? too many choices… geo-information at the roots of mathematics (geometry) classic surveying.
Friso Penninga TU Delft Sander Oude Elberink ITC Enschede 3D Topography.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
Polygonal Meshes 3D Object Representation -Tyler Abrams.
Chapter 3 2D AND 3D SPATIAL DATA REPRESENTATIONS 김 정 준.
Computing the Delaunay Triangulation By Nacha Chavez Math 870 Computational Geometry; Ch.9; de Berg, van Kreveld, Overmars, Schwarzkopf By Nacha Chavez.
GI Systems and Science January 23, Points to Cover  What is spatial data modeling?  Entity definition  Topology  Spatial data models Raster.
CSE 681 Ray Tracing Implicit Surfaces. CSE 681 Overview Similar to CSG –Combine primitive objects to form complex object Primitives are “density fields”
Spatial data Visualization spatial data Ruslan Bobov
Spatial data models (types)
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Mesh Representation, part I
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
GIS 1110 Designing Geodatabases. Representation Q. How will we model our real world data? A. Typically: Features Continuous Surfaces and Imagery Map Graphics.
ITEC224 Database Programming
COMPUTER AIDED DESIGN -(CAD)-3
Faculty of Applied Engineering and Urban Planning Civil Engineering Department Geographic Information Systems Vector and Raster Data Models Lecture 3 Week.
Algorithms for Triangulations of a 3D Point Set Géza Kós Computer and Automation Research Institute Hungarian Academy of Sciences Budapest, Kende u
2D/3D Shape Manipulation, 3D Printing Shape Representations Slides from Olga Sorkine February 20, 2013 CS 6501.
Mesh Data Structure. Meshes Boundary edge: adjacent to 1 face Regular edge: adjacent to 2 faces Singular edge: adjacent to >2 faces Mesh: straight-line.
1 Data models Vector data model Raster data model.
PRESENTED BY – GAURANGI TILAK SHASHANK AGARWAL Collision Detection.
Hidden Surface Removal 1.  Suppose that we have the polyhedron which has 3 totally visible surfaces, 4 totally invisible/hidden surfaces, and 1 partially.
Spatial Databases: Digital Terrain Model Spring, 2015 Ki-Joune Li.
Intersection of Nonconvex Polygons Using the Alternate Hierarchical Decomposition, AHD by Rizwan Bulbul, and Andrew U. Frank Department of Geoinformation.
Spatial Databases - Introduction Spring, 2015 Ki-Joune Li.
1Computer Graphics Implementation II Lecture 16 John Shearer Culture Lab – space 2
Implementation II Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Geographic Information Systems Digital Elevation Models (DEM)
Implementation II.
The Nature of Geographic Data Based in part on Longley et al. Chapters 3 and 4.
A New Voronoi-based Reconstruction Algorithm
Computer Graphics I, Fall 2010 Implementation II.
Riccardo Fellegara University of Genova Genova, Italy
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Computer Graphics I, Fall 2010 Geometry.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Solid Modeling Dr. Scott Schaefer.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
3D Object Representations. Introduction Line and circle and polygon algorithms- represented simple and smooth object. Some Natural object are neither.
CS552: Computer Graphics Lecture 28: Solid Modeling.
Rayat Shikshan Sanstha’s Chhatrapati Shivaji College Satara
Computer Graphics Implementation II
We propose a method which can be used to reduce high dimensional data sets into simplicial complexes with far fewer points which can capture topological.
Introduction to Polygons
SOLID MODELLING.
Geographical Information Systems
An analysis of scaling issues in MPLS-TE backbone networks
3D Graphics Rendering PPT By Ricardo Veguilla.
Computer Aided Engineering Design
3D Topography A simplicial Complex-based Solution in a Spatial DBMS
Spatial Databases - Introduction
Spatial Databases - Introduction
Delaunay Triangulation & Application
Spatial Databases: Digital Terrain Model
Introduction to Computer Graphics with WebGL
Spatial Databases: Digital Terrain Model
Lecture 5: Triangulations & simplicial complexes (and cell complexes).
Presentation transcript:

July A TEN-Based DBMS Approach for 3D Topographic Data Modeling Friso Penninga (TUD), Peter van Oosterom (TUD), and Baris M. Kazar (Oracle) SDH 2006, Vienna

July Overview 1.Introduction A.Need for 3D topography B.Research Goal C.Full 3D Model 2.3D Data Modeling in a TEN Data Structure 3.DBMS aspects 4.Implementation 5.Conclusion

July Real world is based on 3D objects Objects + object representations get more complex due to multiple use of space Applications in: Sustainable development (planning) Support disaster management 3D Topography: more than visualization! 1.Introduction: Need for 3D Topography

July Introduction: Research Goal + Develop a new topographic model to be realized within a robust data structure and filled with exitising 2D, 2.5D and 3D data Data structure: design / develop / implement a data structure that supports 3D analyses and maintains data-integrity =

July Introduction: Full 3D Model Observation: the real world is a volume partition Result: ‘air’ and ‘earth’ (connecting the physical objects) are modeled Advantages of volume partitioning: Air/earth often subject of analysis (noise, smell, pollution,..) Model can be refined to include: air traffic routesgeology layers (oil) indoor topography Ford & James, University of Newcastle, Agile 2005

July Overview 1.Introduction 2.3D Data Modeling in a TEN Data Structure A.TEN Data Structure B.Poincaré Algebra C.Conceptual Model 3.DBMS aspects 4.Implementation 5.Conclusion

July A TEN Structure Support 3D (volume) analysis Irregular data with varying density Topological relationships enable consistency control (and analysis) After considering alternatives the Tetrahedronized irregular Network (TEN) was selected (3D ‘brother’ of a TIN)

July A TEN Structure, Advantages Based on simplexes (TEN): Well defined: a kD-simplex is bounded by k+1 (k-1)D-simplexes 2D-simplex (triangle) bounded by 3 1D-simplexes (line segments) Flat: every plane is defined by 3 points (triangle in 3D) kD-simplex is convex (simple point-in-polygon tests) The TEN structure is very suitable for 3D analyses!

July A TEN Structure, Many Primitives Needed, a Disadvantage? In 3D (complex) shapes  subudived in (many) tetrahedrons: TEN is based on points, line segments, triangles and tetrahedrons: simplexes (‘simplest shape in a given dimension’)

July A TEN Structure, Many Primitives Needed, a Disadvantage? Perhaps Not…. For end users the amount of primitives does not need to be an issue Internal structure is not so relevant, as long as it functions…

July Overview 1.Introduction 2.3D Data Modeling in a TEN Data Structure A.TEN Data Structure B.Poincaré Algebra C.Conceptual Model 3.DBMS aspects 4.Implementation 5.Conclusion

July B Poincaré Algebra (1) Solid mathematical foundation: A n -simplex S n is defined as smallest convex set in Euclidian space R m of n+1 points v 0, …, v n

July B Poincaré Algebra (2) With (n+1) points, there are (n+1)! combinations of these points. In 3D for the 4 simplexes this means 1, 2, 6 and 24 options ( S 0 obvious): For S 1 the two combinations are and (one positive and one negative = - ) For S 2 there are 6:,,,,, and. First 3 opposite orientation from last 3, e.g. = -. counter clockwise (+) and the negative orientation is clockwise (-) For S 3 there are 24, of which 12 with all normal vectors outside (+) and 12 others with all normal vectors inside (-)!

July B Poincaré Algebra (3) The boundary of simplex S n is defined as sum of (n-1) dimensional simplexes: S n =

July B Poincaré Algebra (4) Adding Simplices to Complexes v3v3 v2v2 v1v1 v0v0 v2v2 v4v4 v0v0 v1v1 v3v3

July Overview 1.Introduction 2.3D Data Modeling in a TEN Data Structure A.TEN Data Structure B.Poincaré Algebra C.Conceptual Model 3.DBMS aspects 4.Implementation 5.Conclusion

July C Conceptual Model Earlier work: Panda (Egenhofer et. al. 1989) and Oracle Spatial (Kothuri et. al. 2004) only 2D space. Panda has no attention for feature modeling Features attached to set of primitives (simplices) TEN model seams simple, but different perspectives results in 3 different conceptual models for same TEN: 1.Explicit oriented relations between next higher level 2.As above but with directed and undirected primitives 3.Only with ordered relations to nodes (others derived)

July

July

July

July Overview 1.Introduction 2.3D Data Modeling in a TEN Data Structure 3.DBMS aspects A.Incremental Update B.Basic Update Actions C.Storage Requirements 4.Implementation 5.Conclusion

July DBMS Aspects Models are expected to be large  efficient encoding (of both base tables and indices), so what to store explicitly and what to store implicitly (derive)? Consistency is very important: 1.Start with initial correct DBMS (e.g., empty) 2.Make sure that update results in another correct state Specific constraints: earth surface (triangles with ground on one side and something else on other side) must form a connected surface (every earth surface triangle has 3 neighbor earth surface triangles) No holes allowed, but trough holes (tunnel) possible

July DBMS Aspects Incremental Update Inserting a feature (e.g., house): means that boundary (triangle) has to be present in TEN TEN algorithms do support constrained edges, but not triangles  first triangulate boundary Resulting edges are inserted in constrained TEN (updating node/edge/triangle/tetrahedron table) Finally link feature (house) to set of tetrahedrons New features take space of old features (could be air or earth), which should agree Lock relevant objects during transaction

July DBMS Aspects: Update TEN Structure, Basic Actions (1) Move node (without topology destruction) Insert node and incident edges/triangles/tetrahedrons on the middle of: 1.tetrahedron:+1 node, +4 edges, +6 triangles, and +3 tets 2.triangle: +1 node, +5 edges, +7 triangles, and +4 tets 3.Edge (n tets involved): +1 node, +(n+1) edges, +2n triangles, +n tets

July DBMS Aspects: Update TEN Structure, Basic Actions (2) Fipping of tetrahedrons, two cases possible: bistellar flip (left) bistellar flip (right) Inserting constrained edges (not so easy…)

July DBMS Aspects: Storage Requirements In addition to these also indices (on id) and spatial indices (on location) For all tables (both prinmitives and features) Building as polyhedronBuilding as TEN (1 volume)8 tetrahedrons 7 faces24 triangles (15 edges)25 edges (10 points)10 nodes

July Overview 1.Introduction 2.3D Data Modeling in a TEN Data Structure 3.DBMS aspects 4.Implementation 5.Conclusion

July Implementation Toy data set: 56 tetrahedrons, 120 triangles, 83 edges and 20 nodes in (more or less) UML model 1: create table node( nid integer, geom sdo_geometry); create table edge( eid integer, startnode integer, endnode integer, isconstraint integer);

July create table triangle( trid integer, edge1 integer, edge2 integer, edge3 integer, isconstraint integer, afid integer); create table tetrahedron( tetid integer, triangle1 integer, triangle2 integer, triangle3 integer, triangle4 integer, vfid integer);

July Implementation Only geometry in node (point) functions (e.g., get_edge_geometry ) compute geometry for other primitives Can be used in view create view full_edge as select a.*, get_edge_geometry(eid) edge_geometry from edge a; After metadata registration, add index: create index edge_sidx on edge(get_edge_geometry(eid)) indextype is mdsys.spatial_index parameters('sdo_indx_dims=3')

July Simple 3D viewer created, based on: 1.2D viewer 2.rotate_geom function Note use of semi- Transparency Hidden line/surface by painter algorithm and depth sorting

July Overview 1.Introduction 2.3D Data Modeling in a TEN Data Structure 3.DBMS aspects 4.Implementation 5.Conclusion

July Conclusion Requirement: Data structure supporting 3D analyses and data-integrity Developed: TEN based 3D topography prototype with: analysistopology, Poincaré algebra data-integrity full 3D partition, topology In future more standard 3D support in DBMS!

July Acknowledgements Bsik Space for Geo-information (RGI) ‘3D Topography’ research project Includes long-term TUD-Oracle partnership, thanks to John Herring, Siva Ravada, Ravi Kothuri and Han Wammes for their constructive discussions Friso Penninga and Peter van Oosterom participate in the research program 'Sustainable Urban Areas' (SUA) carried out by TUD