| Name | Well_Summary_DOV |
|---|---|
| Entity Type | ObjectView |
| Description | Data Object View. The Well Summary DOV contains general information about a well such as the spud date, coordinates of the well top, field, name, and UWI. |
| Submodel | Data_Object |
| Entity Scope | Project |
| Primary Key | Id |
| Natural Key | |
| Generalizations | |
| Specializations |
| Name | Value Domain / Measurement | Description | Required / Default | Type |
|---|---|---|---|---|
| Class | STRING255 NA |
Denormalized from Borehole. Overall classification of the Well according to the Lahee classification system. Only useful where all Boreholes have the same classification | No |
VARCHAR2(255) |
| Company_Id | Company |
READ ONLY: Unique identifier for the company. | No |
NUMBER(38) |
| Country | STRING255 NA |
Country Name | No |
VARCHAR2(255) |
| Current_Status | CODE NA |
Current Status | No |
VARCHAR2(64) |
| Field | ENTITY_NAME NA |
Field Name | No |
VARCHAR2(255) |
| Field_Id | Field |
READ ONLY: Unique identifier for the field. | No |
NUMBER(38) |
| Geopolitical_Position_Id | Geopolitical_Position |
READ ONLY: Unique identifier for the geopolitical position. | No |
NUMBER(38) |
| Id | ID No_Unit |
Unique identifier for this entity | Yes |
NUMBER(38) |
| Insert_Date | DATE NA |
Date the entity was created in the repository | No |
DATE |
| Insert_User | STRING64 NA |
The name of the user responsible for the creation of this entity in the repository. | No |
VARCHAR2(64) |
| Operator | ENTITY_NAME NA |
Company Name | No |
VARCHAR2(255) |
| Original_CRS | CODE NA |
READ ONLY: The code for the original projected or geographic coordinate system. | No |
VARCHAR2(64) |
| Original_Coord_System_Id | Coordinate_System |
Unique identifier for the coordinate system of the incoming (i.e., original) Position data, including cartographic, elevation and azimuth references. | No |
NUMBER(38) |
| Original_Coord_System_Name | ENTITY_NAME NA |
READ ONLY: The name of the Original Coordinate System. | No |
VARCHAR2(255) |
| Original_Top_X | double No_Unit |
X coordinate, or longitude, of the point in the cartographic system of the input dataset. | No |
NUMBER |
| Original_Top_Y | double No_Unit |
Y coordinate, or latitude, of the point in the cartographic system of the input dataset. | No |
NUMBER |
| Permanent_Coord_System_Id | Coordinate_System |
READ ONLY: Unique identifier for the permanent coordinate system. | No |
NUMBER(38) |
| Permanent_Elevation | double Length |
Permanent Elevation | No |
NUMBER |
| Permanent_Elevation_Ref | CODE |
Permanent Elevation Reference | No |
VARCHAR2(64) |
| Position_Id | Position |
READ ONLY: Unique identifier for the position. | No |
NUMBER(38) |
| Primary_Source | STRING64 NA |
Primary Source | No |
VARCHAR2(64) |
| Project_Default_Id | Project_Default |
READ ONLY: Unique identifier for the project default. | No |
NUMBER(38) |
| Project_Elevation_Ref | CODE |
Project Elevation Ref | No |
VARCHAR2(64) |
| Remarks | REMARKS_STR NA |
Well Remarks | No |
VARCHAR2(999) |
| Shape | GEOMETRY NA |
Binary spatial representation of the position. | No |
ST_GEOMETRY |
| Short_Name | STRING255 NA |
Well Alias Name | No |
VARCHAR2(255) |
| Spud_Date | DATE NA |
Spud Date | No |
DATE |
| Storage_Coordinate_System_Id | Coordinate_System |
READ ONLY: Unique identifier for the storage coordinate system. | No |
NUMBER(38) |
| Top_X | double No_Unit |
X coordinate of Well Top | No |
NUMBER |
| Top_Y | double No_Unit |
Y coordinate of Well Top | No |
NUMBER |
| UWI | WELL_IDENTIFIER NA |
Unique Well Identifier | Yes |
VARCHAR2(64) |
| Well_Alias_Id | Well_Alias |
READ ONLY: Unique identifier for the well alias. | No |
NUMBER(38) |
| Well_BA_Involvement_Id | Well_BA_Involvement |
READ ONLY: Unique identifier for the well ba involvement. | No |
NUMBER(38) |
| Well_Name | ENTITY_NAME NA |
Well Name | No |
VARCHAR2(255) |
| Link | To Entity | Description | Implementation Technique | Required |
|---|---|---|---|---|
| Field | Field | READ ONLY: Unique identifier for the field. | Cascade | No |
| Well_BA_Involvement | Well_BA_Involvement | READ ONLY: Unique identifier for the well ba involvement. | Cascade | No |
| Company | Company | READ ONLY: Unique identifier for the company. | Cascade | No |
| Well_Alias | Well_Alias | READ ONLY: Unique identifier for the well alias. | Cascade | No |
| Original_Coord_System | Coordinate_System | Unique identifier for the coordinate system of the incoming (i.e., original) Position data, including cartographic, elevation and azimuth references. | Cascade | No |
| Position | Position | READ ONLY: Unique identifier for the position. | Control | No |
| Geopolitical_Position | Geopolitical_Position | READ ONLY: Unique identifier for the geopolitical position. | Cascade | No |
| Storage_Coordinate_System | Coordinate_System | READ ONLY: Unique identifier for the storage coordinate system. | Cascade | No |
| Project_Default | Project_Default | READ ONLY: Unique identifier for the project default. | Nullify | No |
| Permanent_Coord_System | Coordinate_System | READ ONLY: Unique identifier for the permanent coordinate system. | Cascade | No |
CREATE OR REPLACE VIEW Well_Summary_DOV(ID, UWI, WELL_NAME, SHORT_NAME, PRIMARY_SOURCE, SHAPE, TOP_X, TOP_Y, ORIGINAL_COORD_SYSTEM_ID, ORIGINAL_COORD_SYSTEM_NAME, ORIGINAL_CRS, ORIGINAL_TOP_X, ORIGINAL_TOP_Y, CLASS, OPERATOR, PERMANENT_ELEVATION, PERMANENT_ELEVATION_REF, PROJECT_ELEVATION_REF, CURRENT_STATUS, SPUD_DATE, COUNTRY, FIELD, REMARKS, INSERT_DATE, INSERT_USER, FIELD_ID, WELL_BA_INVOLVEMENT_ID, COMPANY_ID, WELL_ALIAS_ID, PERMANENT_COORD_SYSTEM_ID, POSITION_ID, GEOPOLITICAL_POSITION_ID, STORAGE_COORDINATE_SYSTEM_ID, PROJECT_DEFAULT_ID) AS select
w.id Id,
w.uwi UWI,
w.name Well_Name,
wa.alias_name Short_Name,
w.source Primary_Source,
p.shape shape,
decode(sds_spatial.sde_enabled(),1,nvl(p.normal_longitude,sds_spatial.position_x(p.id,1)),p.normal_longitude)
Top_X,
decode(sds_spatial.sde_enabled(),1,nvl(p.normal_latitude,sds_spatial.position_y(p.id,1)),p.normal_latitude) Top_Y,
p.original_coord_system_id Original_Coord_System_Id,
cs3.name Original_Coord_System_Name,
cs3.crs Original_CRS,
p.original_x_longitude Original_Top_X,
p.original_y_latitude Original_Top_Y,
w.lahee_class Class,
c.name Operator,
cs1.z_offset Permanent_Elevation,
cs1.vertical_reference Permanent_Elevation_Ref,
cs2.vertical_reference Project_Elevation_Ref,
w.current_status Current_Status,
w.spud_date Spud_Date,
gp.country_name Country,
f.name Field,
w.remarks Remarks,
w.insert_date Insert_Date,
w.insert_user Insert_User,
f.id Field_Id,
wbi.id Well_BA_Involvement_Id,
c.id
Company_Id,
wa.id Well_Alias_Id,
cs1.id Permanent_Coord_System_Id,
p.id Position_Id,
gp.position_id Geopolitical_Position_Id,
cs2.id Storage_Coordinate_System_Id,
pd.id Project_Default_Id
from well w,
field f,
well_ba_involvement wbi,
company c,
well_alias wa,
coordinate_system cs1,
position p,
geopolitical_position gp,
coordinate_system cs2,
coordinate_system cs3,
project_default pd
where w.field_id = f.id(+)
and w.id = wbi.well_id (+)
and 'Operator' = wbi.involvement_role (+)
and wbi.business_associate_id = c.id (+)
and w.id = wa.well_id (+)
and 'Short Name' = wa.alias_type (+)
and w.permanent_coord_system_id = cs1.id(+)
and w.surface_location_id = p.id (+)
and p.id = gp.position_id (+)
and p.original_coord_system_id=cs3.id(+)
and pd.storage_coord_sys_id = cs2.id
|