35.87 SDO_UTIL.VALIDATE_VIEWFRAME
Format
SDO_UTIL.VALIDATE_VIEWFRAME( viewframe_name IN VARCHAR2 ) RETURN VARCHAR2;
Description
Validates a 3D viewframe.
Parameters
- viewframe_name
-
Name of the 3D theme. Must be a value from the USER_SDO_VIEWFRAMES or ALL_SDO_VIEWFRAMES view (described in xxx_SDO_VIEWFRAMES Views.
Usage Notes
Note:
The SDO_UTIL.VALIDATE_VIEWFRAME 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. For each check it returns the string TRUE
if there are no issues, or a brief description of the issue.
If the specified viewframe has not been defined, the output indicates that there is no viewframe 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_viewframe(name) "Viewframe validity" FROM user_sdo_viewframes ORDER BY name; Viewframe validity --------------------------------------------------------------------------------- Test PC Hawaii Viewpoint 4326: TRUE Test PC Hawaii Viewpoint 4326 A: No Viewframe-related Metadata Test PC Hawaii Viewpoint 4326 A2: XML metadata for "Test PC Hawaii Viewpoint 4326 A2" not well-formed Test PC Hawaii Viewpoint 4326 B1: Referenced scene "Made up": No scene with name "Made up" Test PC Hawaii Viewpoint 4326 B2: Referenced scene "Test PC Hawaii Scene 4326 B": Referenced theme "Test PC Hawaii Theme 4326 A": No Theme-related Metadata Test PC Hawaii Viewpoint 4326 B3: SCENE_NAME column and xml metadata do not match, regarding scene name Test PC Hawaii Viewpoint 4326 C1: SRID 0 not found Test PC Hawaii Viewpoint 4326 C2: No VERTICAL SRID 5758 allowed 8 rows selected.
Related Topics
Parent topic: SDO_UTIL Package (Utility)