In the German federal state of Brandenburg geological borehole data, depth profiles and geological layer-data will be visualized in a 2D and 3D-based webclient. This talk will present the technical solution based on PostGIS 2.0, GeoServer as a W3D-Server, OpenLayers, GeoExt2 on the 2D and ExtJs 4.x and X3Dom on the 3D-side.
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Modelling 3D Underground Data in a WebGIS
1. 19.09.13
Modelling 3D Underground Data
in a webbased 3D-Client
Till Adams (terrestris GmbH & Co Kg)
Emmanuel Belo (Camptocamp SA)
www.terrestris.de
2. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
Introduction
3. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
Introduction
4. 16.07.20133D Data in a 2D & 3D WebGIS
Team of terrestris:
Geoinformatics since 2002Geoinformatics since 2002
13 people, mainly Geographers13 people, mainly Geographers
and computer scientistsand computer scientists
Consulting, Projects, 100% OpenSourceConsulting, Projects, 100% OpenSource
Core development in OpenLayers, GeoExt and several ownCore development in OpenLayers, GeoExt and several own
projects, e.g. SHOGun, our Middlewareprojects, e.g. SHOGun, our Middleware
Partner of OpenGeo, OGC-Member, very active in german localPartner of OpenGeo, OGC-Member, very active in german local
chapter of OsGeo (DACH)chapter of OsGeo (DACH)
Introduction
5. 16.07.20133D Data in a 2D & 3D WebGIS
Till Adams
Geoinformatics since 1998
Shareholder of terrestris
Project-Coordinator
Geographer (know much but nothing really)
FOSSGIS e.V. (DACH local chapter of OsGeo)
Introduction
6. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Problems, Problems, Problems ....
Preview on the System
3D Underground Data
7. 16.07.20133D Data in a 2D & 3D WebGIS
Geological Data:
2D Geological Map
3D Underground Data
8. 16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Drilling
9. 16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Drilling
x,y,z,attribute
x,y,z,attribute
x,y,z,attribute
x,y,z,attribute
...
10. 16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Profile
11. 16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Profile
12. 16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
Brandenburg/Germany
13. 16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
Brandenburg/Germany:
Top of Permian Layers
14. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
2D GIS and 3D Data
15. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
Points
16. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
Points
Lines
17. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
Points
Lines
Polygons
18. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
Points
Lines
Polys
WebGIS !
19. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
2D - WebGIS !
20. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
2D - WebGIS !
21. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
2D - WebGIS !
22. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Put this Data into ….
…. PostGIS 2.0 !!
23. 16.07.20133D Data in a 2D & 3D WebGIS
WKT imported to
PostGIS
2D GIS and 3D Data
Put this Data into PostGIS
… enables us to request it!
3D Model data in GST
(proprietary) exported
As WKT
Data1:
ST_GeomFromEWKT()
Points (x,y,z)
Data2:
ST_AsX3d()
Polyhedralsurface
24. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
ST_GeomFromEWKT():
Points(x,y,z,attribute)
Image from: http://www.gomatlab.de/flaeche-aus-punkten-erzeugen-t3607.html
25. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Geological Data:
2D Geological Map + Geological Drilling
29. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
ST_3DClosestPoint(geometry g1, geometry g2);
X
X
X
X
X X
- strategy is known
(max. 12 surfaces)
- defined max-distance
(less surfaces possible)
- 1 query per surface
30. 16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
ST_3DClosestPoint(geometry g1, geometry g2);
X
X
X
X
X XXXXXX
31. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
2D GIS and 3D Data
32. 16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
Architecture 2D Client
Geo-
DB
Tomcat
WebGIS
4
2
33. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
3D GIS and 3D Data
34. 16.07.20133D Data in a 2D & 3D WebGIS
WKT imported to
PostGIS
Put this Data into PostGIS
… enables us to request it!
3D Model data in GST
(proprietary) exported
As WKT
Data1:
ST_GeomFromEWKT()
Points (x,y,z)
Data2:
ST_AsX3d()
Polyhedralsurface
3D GIS and 3D Data
35. 16.07.20133D Data in a 2D & 3D WebGIS
3D GIS and 3D Data
ST_AsX3d():
Polyhedralsurfaces
Surfaces!
Image from: http://eslab.bu.edu/publications/publications.php
36. 16.07.20133D Data in a 2D & 3D WebGIS
Geological Data:
Brandenburg/Germany:
Top of Permian Layers
3D GIS and 3D Data
37. 16.07.20133D Data in a 2D & 3D WebGIS
3D GIS and 3D Data
Geological Data:
Brandenburg/Germany:
Base of Tertiary Layers
+ Top of Permian Layers
38. 16.07.20133D Data in a 2D & 3D WebGIS
3D GIS and 3D Data
Geological Data:
We need s.th.
Like this:
39. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Problems, Problems, Problems ....
Preview on the System
3D GIS and 3D Data
40. 16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
Architecture 2D Client
Geo-
DB
Tomcat
WebGIS
4
2
41. 16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
Architecture 3D Client
Geo-
DB
Tomcat
WebGIS
4
„3D“
W3DS
42. 16.07.20133D Data in a 2D & 3D WebGIS
Architecture 2D Client 3D Client
X3Dom-Viewer
GeoServer X3DomW3DS
Architecture and Setup
43. 16.07.20133D Data in a 2D & 3D WebGIS
„GeoExt 3D“ combines ExtJS with X3Dom
- uses API on top of X3DOM
- uses ExtJS 4 elements such as Viewport, Panels, etc.
X3DOMAPI
4
Architecture and Setup
44. 16.07.20133D Data in a 2D & 3D WebGIS
„GeoExt 3D“ combines ExtJS with X3Dom
- API methods such as
- setScaleZ(scale)
- setLayerVisibility(layerID, visibility)
- setLayerColor(layer, color)
- getState(); // setState(state)
- Navigation with Mouse/Keys
Architecture and Setup
45. 16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
WebGIS
W3DS Service:
- data sent to client in X3D format
- data rendered in the client
46. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
Preview on the System
47. 16.07.20133D Data in a 2D & 3D WebGIS
We talk about....
Us first
What do we mean with „3D Underground Data“ … ?
2D WebGIS and 3D Data
Architecture and Setup
3D WebGIS and 3D Data
Preview on the System
Problems, Problems, Problems ....
Problems, Problems, Problems
48. 16.07.20133D Data in a 2D & 3D WebGIS
Problems, Problems, Problems
Problems we had to catch up ….
- … Performance
- reduce data density
- enhance hardware
- wait ….
- … W3DS is not officially supported by GeoServer, so had to
use GeoServer UX
- … no API in X3Dom, so created one
- …
49. 16.07.20133D Data in a 2D & 3D WebGIS
Many thanks!
Many thanks for listening !!!
terrestris GmbH & Co. KG
Pützchens Chaussee 56
53227 Bonn
Germany
Dipl.-Geogr. Till Adams
Tel. +49 - 228 – 962 899 52
adams@terrestris.de