35.85 SDO_UTIL.VALIDATE_3DTHEME
Format
SDO_UTIL.VALIDATE_3DTHEME( theme_name IN VARCHAR2 ) RETURN VARCHAR2;
Description
Validates a 3D theme.
Parameters
- theme_name
-
Name of the 3D theme. Must be a value from the USER_SDO_3DTHEMES or ALL_SDO_3DTHEMES view (described in xxx_SDO_3DTHEMES Views.
Usage Notes
Note:
The SDO_UTIL.VALIDATE_3DTHEME function is supported only if Oracle JVM is enabled on your Oracle Autonomous Database Serverless deployments. To enable Oracle JVM, see Use Oracle Java in Using Oracle Autonomous Database Serverless for more information.This function performs several validity checks appropriate to the type of theme. For each check it returns the string TRUE
if there are no issues, or a brief description of the issue.
If the specified theme has not been defined, the output indicates that there is no theme with that name.
Examples
The following example validates the themes in the USER_SDO_3DTHEMES table. (It assumes that the themes were previously inserted into the USER_SDO_3DTHEMES table.)
SELECT name || ': ' || sdo_util.validate_3dtheme(name) "Theme validity" FROM user_sdo_3dthemes ORDER BY name; Theme validity --------------------------------------------------------------------------------- Test PC Hawaii Theme 4326: TRUE Test PC Hawaii Theme 4326 A: No Theme-related Metadata Test PC Hawaii Theme 4326 A2: XML metadata for "Test PC Hawaii Theme 4326 A2" not well-formed Test PC Hawaii Theme 4326 C1: SRID 0 not found Test PC Hawaii Theme 4326 C2: No VERTICAL SRID 5758 allowed Test PC Hawaii Theme 4326 D: THEME_COLUMN column and xml metadata do not match, regarding feature table column Test PC Hawaii Theme 4326 D2: User "MDMETT"'s table "PCS_HAWAII_4326" has no column "PC3", according to USER_TAB_COLUMNS . Test PC Hawaii Theme 4326 D3: User "MDMETT" has no table "PCS_HAWAII_4326A", according to USER_TABLES. Test PC Hawaii Theme 4326 D4: THEME_TYPE column and xml metadata do not match, regarding geometric feature type Test PC Hawaii Theme 4326 D5: User "MDMETT"'s table "PCS_HAWAII_4326" has a column "PC" of type "SDO_PC", not "SDO_PC3", according to USER_TAB_COLUMNS. Test PC Hawaii Theme 4326 E: Elevation not strictly monotonously rising from position 1 to 2 (value 123.2 >= 123.1) Test PC Hawaii Theme 4326 E2: No elevation @color specified at position 2 Test PC Hawaii Theme 4326 E3: No @elevation specified at position 2 Test PC Hawaii Theme 4326 E4: Elevation @color at position 2 does not have hex format RRGGBB Test PC Hawaii Theme 4326 E5: Elevation @color at position 2 does not have hex format RRGGBB (character 6) 15 rows selected.
Parent topic: SDO_UTIL Package (Utility)