7.130 SDO_GEOR.setGCPGeorefMethod
Format
SDO_GEOR.setGCPGeorefMethod( inGeoraster IN OUT SDO_GEORASTER gcpGeorefMethod IN VARCHAR2);
Description
Sets the GCP-based georeferencing geometric model type of a GeoRaster object.
Parameters
Usage Notes
For an explanation of georeferencing using GCPs, see Ground Control Point (GCP) Georeferencing Model.
If inGeoraster
does not contain GCP-based georeferencing information, no action is performed; otherwise, the existing model type is replaced with the specified gcpGeorefMethod
value.
The procedure just set the model type value; no new solution is calculated. To get the solution for the newly set model type, use the SDO_GEOR.georeference function.
Examples
The following example sets the GCP-based georeferencing geometric model type of a specified GeoRaster object, and updates the object.
DECLARE gr1 sdo_georaster; BEGIN SELECT georaster INTO gr1 from georaster_table WHERE georid=10 FOR UPDATE; sdo_geor.setGCPGeorefMethod(gr1, 'DLT'); UPDATE georaster_table SET georaster=gr1 WHERE georid=10; COMMIT; END; /
Parent topic: SDO_GEOR Package Reference