CRS_Choice_Projected


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

General Information

[Next]
Name CRS_Choice_Projected
Entity Type ObjectView
Description PSS 2013.1 CRS_Choice_Projected DOV
Submodel Data_Object
Entity Scope Project
Primary Key Id
Natural Key
Generalizations
Specializations


Columns

[Previous] [Next] [Top]
NameValue DomainProperty /
Storage Unit
DescriptionRequired /
Default
Type
ACTIVE_FLAG NUMBER2 NA
_ Yes
NUMBER(2)
AREA_OF_USE STRING2000 NA
_ No
VARCHAR2(2000)
BASE_GEOGRAPHIC_REF_SYS STRING64 NA
_ No
VARCHAR2(64)
CODE STRING64 NA
_ Yes
VARCHAR2(64)
DESCRIPTION STRING2000 NA
_ No
VARCHAR2(2000)
EPSG_ALIAS STRING64 NA
_ No
VARCHAR2(64)
ID STRING64 NA
_ No
VARCHAR2(64)
NAME STRING255 NA
_ No
VARCHAR2(255)
OPENGIS_WELL_KNOWN_TEXT STRING2000 NA
_ No
VARCHAR2(2000)
ORIGINAL_SOURCE STRING255 NA
_ No
VARCHAR2(255)
REVISION_DATE DATE NA
_ No
DATE
SOURCE STRING64 NA
_ No
VARCHAR2(64)
SOURCE_VERSION STRING64 NA
_ No
VARCHAR2(64)
TYPE STRING64 NA
_ Yes
VARCHAR2(64)
UPDATE_DATE DATE NA
_ No
DATE
UPDATE_USER STRING64 NA
_ No
VARCHAR2(64)


View Definition

[Previous] [Top]

CREATE OR REPLACE FORCE VIEW CRS_Choice_Projected(ID, ACTIVE_FLAG, CODE, DESCRIPTION, NAME, SOURCE, UPDATE_DATE, UPDATE_USER, AREA_OF_USE, BASE_GEOGRAPHIC_REF_SYS, EPSG_ALIAS, OPENGIS_WELL_KNOWN_TEXT, ORIGINAL_SOURCE, REVISION_DATE, SOURCE_VERSION, TYPE) AS SELECT CODE as ID, ACTIVE_FLAG,CODE,DESCRIPTION,NAME,SOURCE,UPDATE_DATE,UPDATE_USER,AREA_OF_USE,BASE_GEOGRAPHIC_REF_SYS,EPSG_ALIAS,OPENGIS_WELL_KNOWN_TEXT,ORIGINAL_SOURCE,REVISION_DATE,SOURCE_VERSION,TYPE
FROM
   R_COORDINATE_REF_SYSTEM CRS
WHERE
   CRS_NAMESPACE = 'ESRI' AND
   SOURCE not in ('OpenSpirit', 'Mentor Mapping') AND
   (CRS.TYPE = 'Projected' AND
     ((CRS.BASE_GEOGRAPHIC_REF_SYS IN (SELECT FROM_GEOGRAPHIC_CRS
                                      FROM R_CARTO_TRANSFORM
                                      WHERE TO_GEOGRAPHIC_CRS = (SELECT STORAGE_CRS
                                                                 FROM PROJECT_DEFAULT))
     OR
     (CRS.BASE_GEOGRAPHIC_REF_SYS IN (SELECT TO_GEOGRAPHIC_CRS
          
                            FROM R_CARTO_TRANSFORM
                                      WHERE FROM_GEOGRAPHIC_CRS = (SELECT STORAGE_CRS
                                                                 FROM PROJECT_DEFAULT) and reversible_flag = 1)))
OR
     CRS.BASE_GEOGRAPHIC_REF_SYS = (SELECT STORAGE_CRS FROM PROJECT_DEFAULT)))
ORDER BY NAME
   


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

Copyright © 2018 Schlumberger. All rights reserved.