1 / 33

3D Topography A simplicial Complex-based Solution in a Spatial DBMS

3D Topography A simplicial Complex-based Solution in a Spatial DBMS. Friso Penninga GIS-t lunch meeting January 18, 2008. Presentation outline. Introduction Previous presentation (01-09-06) Characteristics simplicial complex-based approach Simplicial complexes applied to 3D Topography

lot
Download Presentation

3D Topography A simplicial Complex-based Solution in a Spatial DBMS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3D TopographyA simplicial Complex-basedSolution in a Spatial DBMS Friso Penninga GIS-t lunch meeting January 18, 2008

  2. Presentation outline • Introduction • Previous presentation (01-09-06) • Characteristics simplicial complex-based approach • Simplicial complexes applied to 3D Topography • Implementation details • Update operations (feature insertion) • Test data sets • Tetrahedronisation of models • Storage requirements, comparison to Oracle 11g polyhedrons • Future research & conclusions

  3. Introduction (1/2) PhD research within RGI-011 Objective RGI-011: Enforcing a major break-through in the application of 3D Topography in corporate ICT environments due to structural embedding of 3D methods and techniques. Research question my PhD: How can a 3D topographic representation be realised in a feature-based triangular data model?

  4. Introduction (2/2) Two-step approach: • How to develop a conceptual model that describes the real world phenomena (the topographic features)? • How to implement this conceptual model, i.e. how to develop a suitable DBMS data structure? Focus: storage, analysis, validation + =

  5. Presentation outline • Introduction • Previous presentation (01-09-06) • Characteristics simplicial complex-based approach • Simplicial complexes applied to 3D Topography • Implementation details • Update operations (feature insertion) • Test data sets • Tetrahedronisation of models • Storage requirements, comparison to Oracle 11g polyhedrons • Future research & conclusions

  6. Previous presentation + + = 3D GIS? Lunchmeeting 01-09-06 Available at www.frisopenninga.nl

  7. Previous presentation Characteristics sc-based approach (1/3) Characteristic 1: Full decomposition of space Two fundamental observations (Cosit’05 paper): • ISO19101: a feature is an ‘abstraction of real world phenomena’. These real world phenomena have by definition a volume • Real world can be considered to be a volume partition (analogous to a planar partition: a set of non-overlapping volumes that form a closed modelled space) Result: explicit inclusion of earth and air

  8. Previous presentation Characteristics sc-based approach (2/3) Characteristic 2: constrained TEN object boundaries represented by constraints Advantages of TEN: • Well defined: a n-simplex is bounded by n + 1 (n - 1)-simplexes. • Flatness of faces: every face can be described by three points • A n-simplex is convex (which simplifies amongst others point-in-polygon tests)

  9. Previous presentation Example: small data set

  10. Previous presentation Characteristics sc-based approach(3/3) Characteristic 3: based on Poincaré simplicial homology solid mathematical foundation (SDH’06 paper): Simplex Sndefined by (n+1) vertices: Sn= <v0,…vn> The boundary of simplex Sn is defined as sum of (n-1) dimensional simplexes (note that ‘hat’ means skip the node): Sn = remark: sum has n+1 terms

  11. Previous presentation SC-based approach to 3D topography • Explicit storage (table): • tetrahedrons or tetrahedrons+nodes • Derived (in views): • triangles • edges • constrained triangles • constrained edges • neighbours

  12. Sn = Previous presentation Implementation details Boundary operator implemented in PL/SQL procedure Procedure used to define views with triangles, edges, constrained triangles (object boundaries!), constrained edges, e.g.: create or replace view triangle as select deriveboundarytriangle1(tetcode) tricode, tetcode fromtetcode from tetrahedron UNION ALL select deriveboundarytriangle2(tetcode) tricode, tetcode fromtetcode from tetrahedron UNION ALL ...

  13. Presentation outline • Introduction • Previous presentation (01-09-06) • Characteristics simplicial complex-based approach • Simplicial complexes applied to 3D Topography • Implementation details • Update operations (feature insertion) • Test data sets • Tetrahedronisation of models • Storage requirements, comparison to Oracle 11g polyhedrons • Future research & conclusions

  14. Update operationsFour steps in feature insertion • Feature boundary triangulation: input for step 2 • Inserting constrained edges with new approach (following slides) • Ensuring presence of constrained triangles • Interior modelling + reclassifying tetrahedrons

  15. Update operationsInsertion of constrained edge in a TEN Usual approach: insert nodes, using flipping for edge recovery Might fail in topographic TEN: many constraints in close proximity flipping not always possible New approach: insert a complete constrained edge Nine unique cases: exhaustive + mutually exclusive

  16. Update operationsInsertion of constrained edge in a TEN New approach: act as local as possible with minimal impact

  17. Update operationsExample: constrained edge insertion v1 v4 startnode v6 v5 v7 v0 endnode v3 <v0,v1,v2,v3> <v1,v2,v4,v5> v6in <v1,v2,v3> v2 <v1,v2,v3,v4> v7in <v1,v2,v4> i.e. combination of intersection cases: I23 - I22 - I23

  18. v1 v4 startnode v6 v5 v7 v0 endnode v3 <v0,v1,v2,v3> v6in <v1,v2,v3> v2 Update operationsExample: constrained edge insertion Tetrahedron split in six new tetrahedrons: <v0,v1,v2, startnode> <v0,v1,v3,startnode> <v0,v2,v3,startnode> <startnode,v6,v1,v2> <startnode,v6,v1,v3> <startnode,v6,v2,v3>

  19. Update operationsExample: constrained edge insertion v1 Tetrahedron split in five new tetrahedrons: <v1,v6,v7,v4> <v3,v6,v4,v1> <v3,v2,v6,v4> <v2,v6,v7,v4> <v1,v2,v6,v7> v4 startnode v6 v5 v7 v0 endnode v3 <v1,v2,v3,v4> v6in <v1,v2,v3> v2 v7in <v1,v2,v4>

  20. Update operationsExample: constrained edge insertion v1 Tetrahedron split in six new tetrahedrons: <v2,v4,endnode,v5> <v4,v5,endnode,v1> <endnode,v7,v4,v1> <v7,endnode,v1,v2> <v2,v4,v7,endnode> <endnode,v1,v2,v5> v4 startnode v6 v5 v7 v0 endnode v3 <v1,v2,v4,v5> v2 v7in <v1,v2,v4>

  21. Presentation outline • Introduction • Previous presentation (01-09-06) • Characteristics simplicial complex-based approach • Simplicial complexes applied to 3D Topography • Implementation details • Update operations (feature insertion) • Test data sets • Tetrahedronisation of models • Storage requirements, comparison to Oracle 11g polyhedrons • Future research & conclusions

  22. Test data sets (1/2)Rotterdam data set Tetrahedronisation 30877 nodes 167598 tetrahedrons 54566 constrained triangles Input data set 1796 buildings described by 26656 nodes and 16928 faces

  23. Test data sets (2/2)Campus data set

  24. Test data sets (2/2)Campus data set DXF AccuTrans3D STL (StereoLithographic) TetGen errors… >50.000 intersections round off errors ?

  25. Test data sets (2/2)Campus data set Tetrahedronisation 23260 nodes 131457 tetrahedrons 87316 constrained triangles

  26. Data storage requirements (1/2)Two alternative approaches Coordinate concatenation: describe tetrahedrons by node geometries: x1y1z1x2y2z2x3y3z3x4y4z4 Identifier concateation: describe tetrahedrons by node id’s: id1id2id3id4 withid1:x1y1z1, id2:x2y2z2, etc.

  27. Data storage requirements (2/2) Comparing alternatives and polyhedrons

  28. Presentation outline • Introduction • Previous presentation (01-09-06) • Characteristics simplicial complex-based approach • Simplicial complexes applied to 3D Topography • Implementation details • Update operations (feature insertion) • Test data sets • Tetrahedronisation of models • Storage requirements, comparison to Oracle 11g polyhedrons • Future research & conclusions

  29. Future research Spatial clustering and indexing Basic idea: Why add a meaningless unique id to a node, when its geometry is already unique? 1 Bitwise interleaving coordinates Morton-like code sorting these codes spatial clustering 2 Use as spatial index no addtional indexes (R-tree/quad tree) Objective: reducing storage requirements

  30. dx1dy1dz1 dx2dy2dz2 xyz dx3dy3dz3 Future research Coordinates vs. coord. differences Four nodes of a tetrahedron will be relatively close: only small differences in coordinates Alternative tetrahedron description: xyzdx1dy1dz1dx2dy2dz2dx3dy3dz3 Description is based on geometry (so still unique) but smaller

  31. Conclusions The PhD project results in a a new topological approach to data modelling, based on a tetrahedral network. • Operators and definitions from the field of simplicial homology are used to define and handle this structure of tetrahedrons. • Simplicial homology provides a solid mathematical foundation • Simplicial homology enables one to derive substantial parts of the TEN structure efficiently, instead of explicitly storing all primitives. • DBMS characteristics as the usage of views, functions and function-based indexes are extensively used to realise this potential data reduction.

  32. Conclusions • A proof-of-concept implementation was created: prevailing view that tetrahedrons are more expensive in terms of storage, is not correct when using the proposed approach (incl. proposed improvements (binary, delta’s, etc.) Using tetrahedrons is easy!

  33. Thesis defence Thursday June 19, 2008 – 15.00 h Keep the evening free…

More Related