3D Geologic Model Using GRASS- Masumoto Shinji-libre

8
Proceedings of the Open source GIS - GRASS users conference 2002 - Trento, Italy, 11-13 September 2002 Construction and Visualization of Three Dimensional Geologic Model Using GRASS GIS Shinji Masumoto*, Venkatesh Raghavan**, Tatsuya Nemoto*, Kiyoji Shiono* * Department of Geosciences, Osaka City University, 3-3-138 sugimoto, sumiyoshi-ku, Osaka 558-8585, Japan, e-mail [email protected] ** Media Center, Osaka City University, 3-3-138 sugimoto, sumiyoshi-ku, Osaka 558-8585 , Japan, e-mail [email protected] 1 Introduction Recently, the need of the geologic information has been rising in many fields such as environmental geology, disaster mitigation, and urban geological applications. For these fields, it is effective to provide geologic information as a three dimensional(3-D) model that can be generated and visualized in general purpose GIS software. The present work aims at introducing a basic theory, implementing methodology and algorithms for 3-D modeling and visualization of geologic model using the Open Source GRASS GIS environment. 3-D geologic model is constructed from the boundary surfaces of geologic units and the logical model of geologic structure. The algorithms for construction and visualization of the proposed model are based on the geologic function g. The geologic function g assigns a unique geologic unit to every point in the objective 3-D space. The boundary surface that divides the objective space into two subspaces, were estimated using data from field survey. The logical model showing the hierarchical relationship between these boundaries surfaces and geologic units can be automatically generated based on the stratigraphic sequence and knowledge of geologic structures. Based on these algorithms, 3-D geologic model can be constructed virtually on GRASS GIS. Applying this model, various geologic surface and section models can be visualized in GRASS GIS environment. Further, “Nviz” was used for dynamic visualization of geologic cross- sections and generation of animated image sequences. 2 Basic theory and algorithms 2.1 Geologic function and logical model of geologic structure Let a 3-D subspace be a survey area and suppose that the area is composed of n geologic units that are disjoint: b 1 b 2 ∪ ⋅⋅⋅ ∪ b n = , b i b j = φ ( i j ) . In order to realize a 3-D geologic visualization in the GIS environment, we have introduced a concept of a geologic function g which assigns a unique geologic unit to every point in the 3-D space [1] [2]. g : Ω → B, where B = {b 1 , b 2 , ..., b n } . Fundamentals of the geologic function g is explained using a simple geologic structure composed of three geologic units as shown in Fig. 1(a). Three geologic units b 1 , b 2 and b 3 are defined by two boundary surfaces S 1 , and S 2 which divide into two subspaces as follows;

description

3D Geologic Model Using GRASS- Masumoto Shinji-libre

Transcript of 3D Geologic Model Using GRASS- Masumoto Shinji-libre

  • Proceedings of the Open source GIS - GRASS users conference 2002 - Trento, Italy, 11-13 September 2002

    Construction and Visualization of Three Dimensional

    Geologic Model Using GRASS GIS

    Shinji Masumoto*, Venkatesh Raghavan**, Tatsuya Nemoto*, Kiyoji Shiono*

    * Department of Geosciences, Osaka City University, 3-3-138 sugimoto, sumiyoshi-ku, Osaka 558-8585,

    Japan, e-mail [email protected]

    ** Media Center, Osaka City University, 3-3-138 sugimoto, sumiyoshi-ku, Osaka 558-8585 , Japan,

    e-mail [email protected]

    1 Introduction

    Recently, the need of the geologic information has been rising in many fields such as

    environmental geology, disaster mitigation, and urban geological applications. For these

    fields, it is effective to provide geologic information as a three dimensional(3-D) model

    that can be generated and visualized in general purpose GIS software. The present work

    aims at introducing a basic theory, implementing methodology and algorithms for 3-D

    modeling and visualization of geologic model using the Open Source GRASS GIS

    environment. 3-D geologic model is constructed from the boundary surfaces of geologic

    units and the logical model of geologic structure. The algorithms for construction and

    visualization of the proposed model are based on the geologic function g. The geologic

    function g assigns a unique geologic unit to every point in the objective 3-D space. The

    boundary surface that divides the objective space into two subspaces, were estimated

    using data from field survey. The logical model showing the hierarchical relationship

    between these boundaries surfaces and geologic units can be automatically generated

    based on the stratigraphic sequence and knowledge of geologic structures. Based on these

    algorithms, 3-D geologic model can be constructed virtually on GRASS GIS. Applying

    this model, various geologic surface and section models can be visualized in GRASS GIS

    environment. Further, Nviz was used for dynamic visualization of geologic cross-

    sections and generation of animated image sequences.

    2 Basic theory and algorithms

    2.1 Geologic function and logical model of geologic structure

    Let a 3-D subspace be a survey area and suppose that the area is composed of ngeologic units that are disjoint:

    b1 b2 bn = , bi bj = ( i j ) .In order to realize a 3-D geologic visualization in the GIS environment, we have

    introduced a concept of a geologic function g which assigns a unique geologic unit to

    every point in the 3-D space [1] [2].

    g : B, where B = {b1, b2, ..., bn} .

    Fundamentals of the geologic function g is explained using a simple geologic structure

    composed of three geologic units as shown in Fig. 1(a). Three geologic units b1, b2 and b3are defined by two boundary surfaces S1, and S2 which divide into two subspaces asfollows;

  • Construction and Visualization of 3-D Geologic Model Using GRASS GIS2

    minset unit(c)(a) (b)

    1 1

    +1 1 0 +1

    S2

    S1b1

    b3b2

    (M11)

    (M10)

    (M00)

    (M01)

    S1 S2b1b2b3

    M00M01M10M11

    b1b3b2b3

    Figure 1: Basic elements of a geologic model. a) relation between geologic units and

    surfaces in geologic section, b) logical model (+1; the geologic unit lies abovethe corresponding boundary surface, 1; the geologic unit lies below the

    corresponding boundary surface, and 0 ; no specific relation with the surface.),

    and c) relational code table.

    b1 = S1

    S2 ,

    b2 = S1+ S2

    ,

    b3 = S2+ ,

    where Si+ and Si

    give subspaces that lie above and below the surface Si, respectively.

    These equations can be expressed in a tabular form as shown in Fig. 1(b). The above

    equations and table define the relation between geologic units and their boundaries, i.e.

    the logical model of geologic structure [1].

    As the geologic units b1, b2,..., bn are defined by surfaces, they can be expressed in a

    minset standard form [3]. The minset is a minimum subspace that is divided by the

    boundaries S1, S2, ..., Si, ..., Sn1 in the 3-D space . Let Md1d2...di...dn-1 be a minset definedby ;

    Md1d2...di...dn-1 = h1(d1) h2(d2) ... hi (di) ... hn-1(dn-1) ,

    Where

    =

    =

    =

    +

    0;

    1;)(

    ii

    ii

    iidS

    dSdh .

    In the case of Fig. 1(a), four minsets can be defined as follows;

    M00 = S1 S2

    ,

    M01 = S1 S2

    + ,

    M10 = S1+ S2

    ,

    M11 = S1+ S2

    + .

    The minset standard forms can be derived for the geologic units as follows;

    b1 = M00 ,

    b2 = M10 ,

    b3 = M01 M11 .

    It is evident that each minset is included in only one of geologic units as shown below;

    M00 b1 ,

    M01 b3 ,

    M10 b2 ,

    M11 b3 .

  • Shinji Masumoto, Venkatesh Raghavan, Tatsuya Nemoto, Kiyoji Shiono 3

    S1

    S2

    S3minset

    minset

    minset

    minset

    (a) (b) (c) (d)

    Figure 2: Flow of the geologic profile generation. a) 3-D geologic model image in

    vertical section, b) draw lines with the color of the boundary surface, c) fill the

    polygon with the color of the upside line, and d) geologic profile.

    non-display

    (masked)

    displayS1

    S2

    S3

    (a) (b) (c)

    Figure 3: Flow of the geologic boundary surface generation. a) 3-D geologic model image

    in vertical section, b) geologic boundary surface judgement, and c) draw the

    lines with mask.

    The relation between minsets and geologic units can be expressed by a function g1 from a

    class of minsets I into B:

    g1: I B .

    This function g1 can be represented by the relational code table shown in Fig. 1(c).

    Further, for a point P(x, y, z) in a space , a minset Md1d2...di...dn-1 can be assigned avalue of di = 1 or di = 0 depending on whether P(x, y, z) falls in Si

    + or Si , respectively.

    This correspondence between every point in and minsets is expressed by a function g2 :

    g2: I .

    Consequently, a convolution of functions g1: I B and g2: I provides a rule todefine the geologic unit that includes a given point P(x, y, z):

    g (x, y, z) = g1 ( g2 (x, y, z)) .

    The function g: B defines a rule to assign a unique geologic unit to every point in a3-D space .

    2.2 Geologic profiles and geologic boundary surfaces

    According to the definition of geologic function g, a point on the boundary surface is

    included in the lower side of the boundary. When the point on the boundary was input to

    the geology function g, It was defined that the point belongs to the minset under the

    boundary by the function g2. Therefore, the point lying on the boundary and the region

    under the boundary have the same geologic unit name. In the vertical section, the

    boundary surface is shown as a boundary line, and the minset is shown as a polygon of

  • Construction and Visualization of 3-D Geologic Model Using GRASS GIS4

    the minset section surrounded by the multiple boundary line. This polygon and the upper

    boundary line bounding this polygon have the same geologic unit name. Consequently,

    the geologic profile can be drawn by assigning the polygon of the minset with the color

    corresponding to the geologic unit name of the upside boundary line (Fig. 2).

    In the function g, the boundary surface that divides a space into two subspaces is not ageologic boundary surface. Removing the area where upper and lower sides of the

    boundary surface are the same geology can show the geologic boundary surfaces that

    actually exist as a boundary of the geologic unit (Fig. 3). This judgment can be drawn by

    comparing the geologic unit name on either side of the boundary surface using the

    geologic function g.

    3 Geologic modeling on GRASS GIS environment

    Based on the suggested algorithms, 3-D geologic model can be constructed virtually by

    implementing the geologic function g on GRASS GIS. This geologic function g has been

    modified to create the geologic category raster file of the input objective raster surface

    (Fig. 4). The function g2 is constructed from the raster data defining the boundary surface

    elevation including topographic surface. Determination of the function g2 is implemented

    using a raster map calculation function r.mapcalc. In practice, a simple rule for the

    calculation can be constructed according to the number of boundary surfaces. The

    following 3 steps for each grid cell of the objective surface So can express this rule;

    step 1; obtain the relation of the height between the surface So and every boundary

    surfaces (if lower and on surface then set to 0, or if higher then set to 1),

    step 2; generate the binary code to arrange the boundary surfaces in their ascending order,

    and,

    step 3; convert the binary code into an integer number to create the respective cell value.

    For example, it is assumed that m is a number of the boundary surface, and S1, S2, ...,

    Si, ..., Sm is the raster file name of these boundary surface. The minset raster surface Mo of

    the objective surface So can be calculated by the following equation of the r.mapcalc

    command.

    > r.mapcalc Mo = if(SoS1,1,0,0)2m-1 + if(SoS2,1,0,0)2

    m-2+ .... + if(SoSi,1,0,0)2m-i

    + .... + if(SoSm,1,0,0)20 (where 2k is the real value of 2k).

    The function g1 is implemented to represent the geologic category map on the objective

    surface using the reclassification function r.reclass and the reclassification table

    converted from relational code table. The reclassification table file can be converted into

    integer from binary number of the relation code table. For example, it is assumed that Lm

    is a file name of the reclassification table, and Mo is a minset surface calculated before.

    The geologic category map Go of objective surface So, can be accomplished by following

    r.relcass command and options.

    > r.reclass input = Mo output = Go < Lm (where,

  • Shinji Masumoto, Venkatesh Raghavan, Tatsuya Nemoto, Kiyoji Shiono 5

    Objective Surface (So) Minset Surface (Mo) Geologic Surface (Go)

    OperationRule

    Relational CodeTable (Lm)

    minsetM 01

    S1 S2S1

    S2 (M00) 0 b 1(M01) 1 b 3(M10) 2 b 2

    (M11) 3 b 3

    Function g2 (r.mapcalc) Function g1 (r.reclass)

    Surfaces

    So

    Figure 4: Flow of the 3-D geologic modeling using geologic function.

    > r.mapcalc Li = if(SiS1,1,0,0)2m-1 + if(SiS2,1,0,0)2

    m-2+ .... + if(SiSi,1,0,0)2m-i

    + .... + if(SiSm,1,0,0)20 (where 2k is the real value of 2k),

    > r.reclass input = Li output = Gi < Lm .

    For drawing the geologic boundary surfaces, the mask files must be defined to all

    bounadry surfaces. These mask files can be generated by comparing the geology on either

    sides of the boundary. The lower side files were already calculated as the files Gi.

    Therefore, the calculation of the upper side files are only necessary. For example, it is

    assumed that Hi is a minset raster file for the upper side of the surface Si. The geologic

    category number raster file Ui for the upper side of the surface can be calculated by the

    following;

    > r.mapcalc Hi = if(SiS1,1,1,0)2m-1 + if(SiS2,1,1,0)2

    m-2+ .... + if(SiSi,1,1,0)2m-i

    + .... + if(SiSm,1,1,0)20 (where 2k is the real value of 2k),

    > r.reclass input = Hi output = Ui < Lm .

    The change of this equation means that the boundary surface is attributed to the upper

    side minset in the function g2. Finally, the mask file Mai can be calculated by the

    r.mapcalc command as follows;

    > r.mapcalc Mai = if(GiUi ,1,0,1) .

    The forementioned steps must be done to all of the boundary surfaces. To visualize the

    geologic boundary surfaces, the surfaces Si and Mai are set to the topography and mask

    respectively in the surface panel of Nvis. For the geologic profile, the surfaces Gi are

    established to the surface color and the T is specified to paint section by the color of the

    upper line in the cutting-plane of Nviz.

    4 Case study

    The study area is located in Honjyo region of Akita Prefecture, Northeast Japan (Fig. 5).

    The logical model of this area is shown in Table 1. The surfaces were estimated by

    Horizon2000[4] using data extracted from geologic map (Fig. 6;[5]). The geologic

    boundary surfaces S1, S2, and S5(=DEM) are shown in Fig. 7. The surface geologic map

    with these boundary surfaces are presented in Fig. 8. Examples of the horizontal and

    vertical sections are presented in Fig. 9 using 3-D geologic model. In addition, 3-D

    geologic voxel model was constructed based on the geologic function g. Examples of the

    voxel model visualization are presented in Fig. 10 using Vis5D software[6].

  • Construction and Visualization of 3-D Geologic Model Using GRASS GIS6

    Study Area

    Osaka

    Figure 5: Location map of the study area. Figure 6: Geologic map of the study area.

    (8.7X6.5km; [5])

    Gongenyama F.

    Onnagawa F.

    Funakawa F.

    Tentokuji F.

    Alluvial Deposits

    (air)

    S1 S2 S3 S4 S5

    1 0 0 1 0

    +1 1 0 1 0

    +1 +1 1 1 0

    +1 +1 +1 1 0

    0 0 0 +1 1

    0 0 0 +1 +1

    Figure 7: Geologic boundary surfaces. (a) Surface S1, (b) Surface S2,

    (c) Surface S5(DEM), and (b) Surface S1 and S5.

    (a) (b)

    (c) (d)

    Table 1. Logical model of the

    geologic structure. (S1,...,

    S4; boundary surfaces, and

    S5; DEM)

  • Shinji Masumoto, Venkatesh Raghavan, Tatsuya Nemoto, Kiyoji Shiono 7

    Figure 8: Geologic map with boundary surfaces.

    Figure 9: Examples of the horizontal and vertical sections using 3D geologic model.

    (a) Horizontal sections (top; DEM, middle; 0m, bottom; 500m), and

    (b)~(e) Vertical sections.

    Figure 10: Examples of the voxel model visualization using Vis5D software.

    (a) Geologic sections, and (b) Volume model of geologic units.

    (a) (c)

    (b) (e)

    (d)

    (a) (b)

  • Construction and Visualization of 3-D Geologic Model Using GRASS GIS8

    5 Discussion

    In most cases, research and software development for 3-D visualization of geologic

    structure are oriented towards solid modeling. In this regard, the proposed algorithm and

    the utilized system in the present paper is unique, as it uses no specialized solid modeling

    technique for generating geologic model. Further, generation of boundary surfaces and

    logical model are basically based on the results of geologic field survey data. Since the

    construction of geologic map is based on a virtual model, the algorithm does not exert a

    heavy load on the computer system. Therefore, this model is flexible in comparison with

    the solid modeling method.

    The applied algorithm has successfully generated a 3-D geologic model utilizing the

    geologic function g based on the relationships between the geologic units and their

    boundary surfaces.

    There still remain some limitations in this algorithm and model. The boundary surfaces of

    geologic model and objective surface that are difficult to represent as GIS raster layers

    (e.g. double-valued function such as over-folded structure) can not be readily generated in

    the present system. To overcome these limitations the theory and functions that reflect the

    characteristics of geologic surfaces need to be further investigated.

    References

    [1] Sakamoto, M., Shiono, K., Masumoto, S., Wadatsumi K. A computerized geological

    mapping system based on logical models of geologic structures. Nonrenewable

    Resources 2, pages 140-147, 1993.

    [2] Shiono, K., Masumoto, S., Sakamoto, M. On formal expression of spatial distribution

    of strata using boundary surfaces -C1 and C2 type of contact-. Geoinformatics, 5,

    pages 223-232, 1994.

    [3] Shiono K., Noumi Y., Masumoto S., Sakamoto M. Horizon2000:Revised FortranProgram for Optimal Determination of Geologic Surfaces Based on Field.Geoinformatics, 12, pages 229-249, 2001.

    [4] Gill, A. Applied algebra for the computer sciences, Englewood Cliffs, N.J.: Prentice-Hall. , 1976.

    [5] Osawa M., Takayasu T., Ikebe Y., Fujioka K. Geology of the Honjyo District.Quadrangel Series, Scale 1:50,000, Geological Survey of Japan, 1977.

    [6] Hibbard B., Kellum J., Paul B. Vis5D, http://www.ssec.wisc.edu/~billh/vis5d.html,1998.