7.62 SDO_GEOR.getGCPGeorefModel
Format
SDO_GEOR.getGCPGeorefModel( inGeoraster IN SDO_GEORASTER ) RETURN SDO_GEOR_GCPGEOREFTYPE;
Description
Returns all information about the ground control point (GCP)-based georeferencing model in a GeoRaster object.
Usage Notes
For an explanation of georeferencing using GCPs, see Ground Control Point (GCP) Georeferencing Model.
The SDO_GEOR_GCPGEOREFTYPE object type is defined in SDO_GEOR_GCPGEOREFTYPE Object Type.
If inGeoraster
does not contain any georeferencing model information, this function returns a null value.
Examples
The following example returns the GCP-based georeferencing model information in a specified GeoRaster object. (The output is reformatted for readability.)
SELECT sdo_geor.getGCPGeorefModel(georaster) FROM georaster_table WHERE georid=10; SDO_GEOR.GETGCPGEOREFMODEL(GEORASTER)(FFMETHODTYPE, NUMBERGCP, GCPS(POINTID, DES... -------------------------------------------------------------------------------- SDO_GEOR_GCPGEOREFTYPE('Affine', 6, SDO_GEOR_GCP_COLLECTION( SDO_GEOR_GCP('21', NULL, 1, 2,SDO_NUMBER_ARRAY(25.625, 73.875), 2, SDO_NUMBER_ARRAY(237036.938,897987.188), NULL, NULL), SDO_GEOR_GCP('22', NULL, 1, 2,SDO_NUMBER_ARRAY(100.625, 459.125), 2,SDO_NUMBER_ARRAY(237229.563, 897949.688), NULL, NULL), SDO_GEOR_GCP('23', NULL, 1, 2, SDO_NUMBER_ARRAY(362.375, 77.875), 2, SDO_NUMBER_ARRAY(237038.938, 897818.813), NULL, NULL), SDO_GEOR_GCP('24', NULL, 1, 2, SDO_NUMBER_ARRAY(478.875, 402.125), 2, SDO_NUMBER_ARRAY(237201.063, 897760.563), NULL, NULL), SDO_GEOR_GCP('25', NULL, 2, 2, SDO_NUMBER_ARRAY(167.470583, 64.030686), 2, SDO_NUMBER_ARRAY(237032.015, 897916.265), NULL, NULL), SDO_GEOR_GCP('26', NULL, 2, 2, SDO_NUMBER_ARRAY(101.456177, 257.915534), 2, SDO_NUMBER_ARRAY(237128.958, 897949.272), NULL, NULL)), NULL)
Parent topic: SDO_GEOR Package Reference