Post on 11-Jun-2015
description
19.09.13
Modelling 3D Underground Datain a webbased 3D-Client
Till Adams (terrestris GmbH & Co Kg)Emmanuel Belo (Camptocamp SA)
www.terrestris.de
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
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
16.07.20133D Data in a 2D & 3D WebGIS
Team of terrestris:
Geoinformatics since 2002Geoinformatics since 2002
13 people, mainly Geographers 13 people, mainly Geographers
and computer scientistsand computer scientists
Consulting, Projects, 100% OpenSourceConsulting, Projects, 100% OpenSource
Core development in OpenLayers, GeoExt and several own Core 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 local Partner of OpenGeo, OGC-Member, very active in german local chapter of OsGeo (DACH)chapter of OsGeo (DACH)
Introduction
16.07.20133D Data in a 2D & 3D WebGIS
Till Adams
Geoinformatics since 1998 Shareholder of terrestrisProject-CoordinatorGeographer (know much but nothing really) FOSSGIS e.V. (DACH local chapter of OsGeo)
Introduction
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
16.07.20133D Data in a 2D & 3D WebGIS
Geological Data:
2D Geological Map
3D Underground Data
16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Drilling
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
...
16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Profile
16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
2D Geological Map + Geological Profile
16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
Brandenburg/Germany
16.07.20133D Data in a 2D & 3D WebGIS
3D Underground Data
Geological Data:
Brandenburg/Germany:
Top of Permian Layers
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
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
Points
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
PointsLines
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
PointsLinesPolygons
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
PointsLinesPolys
WebGIS !
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
2D - WebGIS !
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
2D - WebGIS !
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Presenting this Data:
2D - WebGIS !
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Put this Data into ….
…. PostGIS 2.0 !!
16.07.20133D Data in a 2D & 3D WebGIS
WKT imported toPostGIS
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
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
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Geological Data:
2D Geological Map + Geological Drilling
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
Geological Data:
2D Geological Map + Geological Profile
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
ST_3DClosestPoint(geometry g1, geometry g2);
X
X
X
X
XX
- strategy is known (max. 12 surfaces)
- defined max-distance (less surfaces possible)
- 1 query per surface
16.07.20133D Data in a 2D & 3D WebGIS
2D GIS and 3D Data
ST_3DClosestPoint(geometry g1, geometry g2);
X
X
X
X
XX
XX
XX
X
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
16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
Architecture 2D Client
Geo-DB
Tomcat
WebGIS
42
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
16.07.20133D Data in a 2D & 3D WebGIS
WKT imported toPostGIS
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
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
16.07.20133D Data in a 2D & 3D WebGIS
Geological Data:
Brandenburg/Germany:
Top of Permian Layers
3D GIS and 3D Data
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
16.07.20133D Data in a 2D & 3D WebGIS
3D GIS and 3D Data
Geological Data:
We need s.th. Like this:
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
16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
Architecture 2D Client
Geo-DB
Tomcat
WebGIS
42
16.07.20133D Data in a 2D & 3D WebGIS
Architecture and Setup
Architecture 3D Client
Geo-DB
Tomcat
WebGIS
4„3D“
W3DS
16.07.20133D Data in a 2D & 3D WebGIS
Architecture 2D Client 3D Client
X3Dom-Viewer
GeoServer X3DomW3DS
Architecture and Setup
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.X
3DO
M A
PI
4
Architecture and Setup
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
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
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
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
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
- …
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