Sur_Geometry_3D_N_Shape


[Columns] [Composed Of] [Referenced By] [Refers To]

General Information

[Next]
Name Sur_Geometry_3D_N_Shape
Entity Type ObjectView
Description Sur_Geometry_3D_N_Shape DOV first time creation.
Submodel Data_Object
Entity Scope Project
Primary Key Id
Natural Key APPLICATION_PROJECT_ID , NAME , DATASTORE_NAME , PROJECT_NAME
Generalizations
Specializations


Columns

[Previous] [Next] [Top]
NameValue DomainProperty /
Storage Unit
DescriptionRequired /
Default
Type
APPLICATION_PROJECT_ID NUMBER NA
_ Yes
NUMBER
BIN_NODE_INC_ON_I_AXIS NUMBER NA
_ No
NUMBER
BIN_NODE_INC_ON_J_AXIS NUMBER NA
_ No
NUMBER
BIN_WIDTH_ON_I_AXIS NUMBER NA
_ No
NUMBER
BIN_WIDTH_ON_J_AXIS NUMBER NA
_ No
NUMBER
CALCULATED_AREA NUMBER Area
m2
_ No
NUMBER
COUNTRY_NAME STRING64 NA
_ No
VARCHAR2(64)
DATASTORE_NAME STRING255 NA
_ No
VARCHAR2(255)
FIRST_CORNER_POINT_X NUMBER NA
_ No
NUMBER
FIRST_CORNER_POINT_Y NUMBER NA
_ No
NUMBER
FIRST_I_COORDINATE_LINE NUMBER NA
_ No
NUMBER
FIRST_J_COORDINATE_LINE NUMBER NA
_ No
NUMBER
FOREIGN_REPOSITORY_SYSTEM STRING64 NA
_ No
VARCHAR2(64)
FOREIGN_REP_OBJECT_ID NUMBER NA
_ No
NUMBER
GUID STRING128 NA
_ No
VARCHAR2(128)
ID NUMBER NA
_ Yes
NUMBER
INSERT_DATE DATE NA
_ No
DATE
INSERT_USER STRING4 NA
_ No
VARCHAR2(4)
I_COORDINATE_LINE_COUNT NUMBER NA
_ No
NUMBER
J_COORDINATE_LINE_COUNT NUMBER NA
_ No
NUMBER
LAST_I_COORDINATE_LINE NUMBER NA
_ No
NUMBER
LAST_J_COORDINATE_LINE NUMBER NA
_ No
NUMBER
LICENSE_HOLDER_ID NUMBER NA
_ No
NUMBER
NAME STRING255 NA
_ No
VARCHAR2(255)
NOMINAL_AREA NUMBER Area
m2
_ No
NUMBER
ORIGINAL_SOURCE STRING64 NA
_ No
VARCHAR2(64)
PARENT_3D_SURVEY_ID NUMBER NA
_ No
NUMBER
PRODUCED_BY STRING64 NA
_ No
VARCHAR2(64)
PROJECT_DATASTORE_ID NUMBER NA
_ Yes
NUMBER
PROJECT_NAME STRING255 NA
_ No
VARCHAR2(255)
REMARKS STRING2000 NA
_ No
VARCHAR2(2000)
SECOND_CORNER_POINT_X NUMBER NA
_ No
NUMBER
SECOND_CORNER_POINT_Y NUMBER NA
_ No
NUMBER
SHAPE GEOMETRY NA
_ No
ST_GEOMETRY
SOURCE STRING64 NA
_ No
VARCHAR2(64)
SURVEY_3D_ID NUMBER NA
_ No
NUMBER
SURVEY_AREA_NAME STRING255 NA
_ No
VARCHAR2(255)
SURVEY_CRS_ID NUMBER NA
_ No
NUMBER
SURVEY_PROJECT_NAME STRING255 NA
_ No
VARCHAR2(255)
SURVEY_PROSPECT_NAME STRING255 NA
_ No
VARCHAR2(255)
SURVEY_UNIQUE_LOCATOR STRING2000 NA
_ No
VARCHAR2(2000)
THIRD_CORNER_POINT_X NUMBER NA
_ No
NUMBER
THIRD_CORNER_POINT_Y NUMBER NA
_ No
NUMBER
UPDATE_DATE DATE NA
_ No
DATE
UPDATE_USER STRING64 NA
_ No
VARCHAR2(64)


View Definition

[Previous] [Top]

CREATE OR REPLACE FORCE VIEW Sur_Geometry_3D_N_Shape(BIN_NODE_INC_ON_I_AXIS, BIN_NODE_INC_ON_J_AXIS, I_COORDINATE_LINE_COUNT, J_COORDINATE_LINE_COUNT, FIRST_CORNER_POINT_X, FIRST_CORNER_POINT_Y, SECOND_CORNER_POINT_X, SECOND_CORNER_POINT_Y, THIRD_CORNER_POINT_X, THIRD_CORNER_POINT_Y, BIN_WIDTH_ON_I_AXIS, BIN_WIDTH_ON_J_AXIS, ID, SURVEY_3D_ID, APPLICATION_PROJECT_ID, PROJECT_DATASTORE_ID, INSERT_DATE, INSERT_USER, UPDATE_DATE, UPDATE_USER, GUID, NAME, PROJECT_NAME, DATASTORE_NAME, ORIGINAL_SOURCE, PRODUCED_BY, REMARKS, SOURCE, LICENSE_HOLDER_ID, SURVEY_AREA_NAME, COUNTRY_NAME, SURVEY_CRS_ID, SURVEY_PROJECT_NAME, SURVEY_PROSPECT_NAME, SURVEY_UNIQUE_LOCATOR, FOREIGN_REP_OBJECT_ID, FOREIGN_REPOSITORY_SYSTEM, PARENT_3D_SURVEY_ID, FIRST_I_COORDINATE_LINE, FIRST_J_COORDINATE_LINE, LAST_I_COORDINATE_LINE, LAST_J_COORDINATE_LINE, CALCULATED_AREA, NOMINAL_AREA, SHAPE) AS SELECT CUBE_LATTICE.I_ANNOTATION_INCREMENT,
          CUBE_LATTICE.J_ANNOTATION_INCREMENT, CUBE_LATTICE.I_COUNT,
          
CUBE_LATTICE.J_COUNT, POINT_0_0.ORIGINAL_X_LONGITUDE,
          POINT_0_0.ORIGINAL_Y_LATITUDE, POINT_0_J.ORIGINAL_X_LONGITUDE,
          POINT_0_J.ORIGINAL_Y_LATITUDE, POINT_I_0.ORIGINAL_X_LONGITUDE,
          POINT_I_0.ORIGINAL_Y_LATITUDE,
            SQRT (  POWER (  POINT_I_0.ORIGINAL_X_LONGITUDE
                           - POINT_0_0.ORIGINAL_X_LONGITUDE,
                           2
                          )
                  + POWER (  POINT_I_0.ORIGINAL_Y_LATITUDE
                           - POINT_0_0.ORIGINAL_Y_LATITUDE,
                           2
                          )
                 )
          / (I_COUNT - 1),
            SQRT (  POWER (  POINT_0_J.ORIGINAL_X_LONGITUDE
                           - POINT_0_0.ORIGINAL_X_LONGITUDE,
                           2
                          )
                  + POWER (  POINT_0_J.ORIGINAL_Y_LATITUDE
                           - POINT_0_0.ORIGINAL_Y_LATITUDE,
                           2
                          )
     
            )
          / (J_COUNT - 1),
          CUBE_LATTICE.ID, CUBE_LATTICE.SURVEY_3D_ID, APPLICATION_PROJECT.ID,
          PROJECT_DATASTORE.ID, CUBE_LATTICE.INSERT_DATE,
          CUBE_LATTICE.INSERT_USER, CUBE_LATTICE.UPDATE_DATE,
          CUBE_LATTICE.UPDATE_USER, CUBE_LATTICE.GUID, CUBE_LATTICE.NAME,
          APPLICATION_PROJECT.NAME, PROJECT_DATASTORE.NAME,
          CUBE_LATTICE.ORIGINAL_SOURCE, CUBE_LATTICE.PRODUCED_BY,
          CUBE_LATTICE.REMARKS, CUBE_LATTICE.SOURCE,
          SURVEY_3D.LICENSE_HOLDER_ID, SURVEY_3D.SURVEY_AREA_NAME,
          SURVEY_3D.COUNTRY_NAME, SURVEY_3D.SURVEY_CRS_ID,
          SURVEY_3D.SURVEY_PROJECT_NAME, SURVEY_3D.SURVEY_PROSPECT_NAME,
          SURVEY_3D.SURVEY_UNIQUE_LOCATOR, SURVEY_3D.FOREIGN_REP_OBJECT_ID,
          SURVEY_3D.FOREIGN_REPOSITORY_SYSTEM, SURVEY_3D.PARENT_3D_SURVEY_ID,
          CUBE_LATTICE.I_ANNOTATION_AT_0_0, CUBE_LATTICE.J_ANNOTATION_AT_0_0,
            CUBE_LATTICE.I_ANNOTATION_AT_0_0
          + 
(CUBE_LATTICE.I_COUNT - 1) * CUBE_LATTICE.I_ANNOTATION_INCREMENT,
            CUBE_LATTICE.J_ANNOTATION_AT_0_0
          + (CUBE_LATTICE.J_COUNT - 1) * CUBE_LATTICE.J_ANNOTATION_INCREMENT,
          dst.CALCULATED_AREA,
          SURVEY_3D.NOMINAL_AREA,
          AREA.SHAPE
     FROM SURVEY_BOUNDARY,
          AREA,
          PROJECT_DATASTORE,
          APPLICATION_PROJECT,
          CUBE_LATTICE,
          SURVEY_3D,
          POSITION POINT_0_0,
          POSITION POINT_0_J,
          POSITION POINT_I_0,
          (SELECT calculated_area AS calculated_area,
                  cube_lattice_id
             FROM seismic_dataset_
            WHERE full_survey_extent_flag = 1 AND  SOURCE = 'SEISMIC') dst
      WHERE cube_lattice.survey_3d_id = survey_boundary.survey_3d_id(+)
      AND survey_boundary.polygon_geometry_id = area.ID(+)
      AND project_datastore.ID = application_project.project_datastore_id
      AND application_project.ID = survey_3d.application_project_id
      AND 
point_0_0.ID(+) = cube_lattice.point_0_0_position_id
      AND point_0_j.ID(+) = cube_lattice.point_0_j_position_id
      AND point_i_0.ID(+) = cube_lattice.point_i_0_position_id
      AND survey_3d.ID = cube_lattice.survey_3d_id
      AND cube_lattice.ID = dst.cube_lattice_id(+)
   


[Seabed Objects] [Entities in Schema Seabed] [Index]

Copyright © 2018 Schlumberger. All rights reserved.