SDO_GEOR.getModelCoordLocation
Format
SDO_GEOR.getModelCoordLocation(
georaster IN SDO_GEORASTER
) RETURN VARCHAR2;
Description
Returns the model coordinate location value for a GeoRaster object.
Parameters
georaster
GeoRaster object.
Usage Notes
This function returns a null value if the GeoRaster object is not georeferenced or if the modelCoordinateLocation element is not specified in the SRS metadata. Otherwise, it returns the modelCoordinateLocation element value specified in the SRS metadata.
A null return value or a value of CENTER means that the cell coordinate system is center-based. A value of UPPERLEFT means that the cell coordinate system is based on the upper-left corner.
To set or delete the model coordinate location value for a GeoRaster object, use the SDO_GEOR.setModelCoordLocation procedure.
For an explanation of georeferencing using GCPs, see Ground Control Point (GCP) Georeferencing Model.
Examples
The following example returns the model coordinate location of a specified GeoRaster object.
SELECT sdo_geor.getModelCoordLocation(georaster) modelCoordLocation
FROM georaster_table
WHERE georid = 1;