SDO_GEOR.deleteControlPoint
Format
SDO_GEOR.deleteControlPoint (
inGeoraster IN SDO_GEORASTER,
controlPointID IN VARCHAR2);
Description
Deletes a ground control point (GCP) that has the specified control point ID value.
Parameters
inGeoraster
GeoRaster object.
controlPointID
Control point ID for inGeoraster. Must be a string not more than 32 characters.
Usage Notes
For an explanation of georeferencing using GCPs, see Ground Control Point (GCP) Georeferencing Model.
If the controlPointID is null, empty or not found in the existing GCPs stored in the GeoRaster object metadata, an exception is raised. If a GCP with the specified point ID is found, that GCP is deleted from the georeferencing model.
Examples
The following example deletes the GCP that has the ID value 23 in a specified GeoRaster object.
DECLARE
gr1 sdo_georaster;
BEGIN
SELECT georaster INTO gr1 from herman.georaster_table WHERE georid=10 FOR UPDATE;
sdo_geor.deleteControlPoint(gr1, '23');
UPDATE georaster_table SET georaster=gr1 WHERE georid=10;
COMMIT;
END;
/