7.141 SDO_GEOR.setOrthoRectified
Format
SDO_GEOR.setOrthoRectified( georaster IN OUT SDO_GEORASTER, isOrthoRectified IN VARCHAR2);
Description
Specifies whether or not a GeoRaster object is orthorectified, or deletes the existing value if you specify a null isOrthoRectified
parameter.
Parameters
- georaster
-
GeoRaster object.
- isOrthoRectified
-
Specify
TRUE
to specify that the GeoRaster object is orthorectified,FALSE
to specify that the GeoRaster object is not orthorectified, or null if the GeoRaster metadata does not contain spatial reference information. Must beTRUE
orFALSE
(case-insensitive) if the GeoRaster metadata contains spatial reference information.
Usage Notes
This procedure modifies the GeoRaster metadata for the object. It does not actually orthorectify the object. Users are responsible for ensuring that orthorectification is performed.
The GeoRaster object is automatically validated after the operation completes.
To be set as orthorectified, a GeoRaster object must be spatially referenced and rectified.
Examples
The following example identifies the GeoRaster object (GEORASTER column) in the row with the GEORID column value of 4 in the GEORASTER_TABLE table as orthorectified. (The GEORASTER_TABLE table definition is presented after Example 1-1 in Storage Parameters.)
DECLARE grobj sdo_georaster; BEGIN SELECT georaster INTO grobj FROM georaster_table WHERE georid=4 FOR UPDATE; sdo_geor.setOrthoRectified(grobj, 'TRUE'); UPDATE georaster_table SET georaster = grobj WHERE georid=4; COMMIT; END; /
Parent topic: SDO_GEOR Package Reference