Update GeoRaster Object Metadata

put

{server}/georaster/v1/{datasource}/{tableName}/{georasterColumnName}/{rdt}/{rid}/metadata

Update the metadata of the specified GeoRaster Object.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
The elements of the GeoRaster metadata
Show Source
Nested Schema : layerDescriptionType
Type: object
Show Source
Nested Schema : objectDescriptionType
Type: object
Show Source
Nested Schema : rasterSpatialReferenceSystemType
Type: object
Show Source
Nested Schema : layerType
Type: object
Show Source
Nested Schema : subLayer
Type: array
Minimum Length: 0
Show Source
Nested Schema : binFunctionType
Type: object
Show Source
Nested Schema : colorMapType
Type: object
Show Source
Nested Schema : grayScaleType
Type: object
Show Source
Nested Schema : NODATAType
Type: object
Show Source
Nested Schema : scalingFunctionType
Type: object
Show Source
Nested Schema : statisticDatasetType
Type: object
Show Source
Nested Schema : binDefinition
Match One Schema
Show Source
Nested Schema : segmentationDataType
Type: object
Show Source
Nested Schema : extentType
Type: object
Show Source
Nested Schema : colors
Match One Schema
Show Source
Nested Schema : colors-oneOf[0]
Type: array
Minimum Length: 1
Show Source
Nested Schema : cellPseudoColorType
Type: object
Show Source
Nested Schema : grays
Match One Schema
Show Source
Nested Schema : grays-oneOf[0]
Type: array
Minimum Length: 1
Show Source
Nested Schema : cellGrayType
Type: object
Show Source
Nested Schema : ranges
Type: array
Show Source
Nested Schema : values
Type: array
Show Source
Nested Schema : histogramType
Type: object
Show Source
Nested Schema : rectangularWindowType
Type: object
Show Source
Nested Schema : counts
Match One Schema
Show Source
Nested Schema : counts-oneOf[0]
Type: array
Minimum Length: 1
Show Source
Nested Schema : cellCountType
Type: object
Show Source
Nested Schema : cellCoordinateType
Type: object
Show Source
Nested Schema : GCPGeoreferenceType
Type: object
Show Source
Nested Schema : rationalPolynomialType
Type: object
Show Source
Nested Schema : spatialResolution
Type: object
Show Source
Nested Schema : gcp
Type: array
Minimum Length: 0
Show Source
Nested Schema : GCPType
Type: object
Show Source
Nested Schema : polynomialType
Type: object
Show Source
Nested Schema : polynomialCoefficients
Type: array
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Return the updated GeoRaster metadata.
Body ()
Root Schema : georasterMetadataResponse
Type: object
The json response of the information of the GeoRaster metadata
Show Source
Nested Schema : rasterBandReferenceSystemType
Type: object
Show Source
Nested Schema : layerDescriptionType
Type: object
Show Source
Nested Schema : objectDescriptionType
Type: object
Show Source
Nested Schema : rasterDescriptionType
Type: object
Show Source
Nested Schema : rasterSpatialReferenceSystemType
Type: object
Show Source
Nested Schema : rasterTemporalReferenceSystemType
Type: object
Show Source
Nested Schema : bandReference
Type: array
Show Source
Nested Schema : spatialResolution
Type: object
Show Source
Nested Schema : extentType
Type: object
Show Source
Nested Schema : segmentationDataType
Type: object
Show Source
Nested Schema : layerType
Type: object
Show Source
Nested Schema : subLayer
Type: array
Minimum Length: 0
Show Source
Nested Schema : binFunctionType
Type: object
Show Source
Nested Schema : colorMapType
Type: object
Show Source
Nested Schema : grayScaleType
Type: object
Show Source
Nested Schema : NODATAType
Type: object
Show Source
Nested Schema : scalingFunctionType
Type: object
Show Source
Nested Schema : statisticDatasetType
Type: object
Show Source
Nested Schema : binDefinition
Match One Schema
Show Source
Nested Schema : colors
Match One Schema
Show Source
Nested Schema : colors-oneOf[0]
Type: array
Minimum Length: 1
Show Source
Nested Schema : cellPseudoColorType
Type: object
Show Source
Nested Schema : grays
Match One Schema
Show Source
Nested Schema : grays-oneOf[0]
Type: array
Minimum Length: 1
Show Source
Nested Schema : cellGrayType
Type: object
Show Source
Nested Schema : ranges
Type: array
Show Source
Nested Schema : values
Type: array
Show Source
Nested Schema : histogramType
Type: object
Show Source
Nested Schema : rectangularWindowType
Type: object
Show Source
Nested Schema : counts
Match One Schema
Show Source
Nested Schema : counts-oneOf[0]
Type: array
Minimum Length: 1
Show Source
Nested Schema : cellCountType
Type: object
Show Source
Nested Schema : cellCoordinateType
Type: object
Show Source
Nested Schema : blockingDescriptionType
Type: object
Show Source
Nested Schema : cellDimensionSizeType
Type: object
Show Source
Nested Schema : pyramidDescriptionType
Type: object
Show Source
Nested Schema : maxLevel
Default Value: 0
Match All
Show Source
  • Minimum Value: 0
    Minimum Value: > false
Nested Schema : GCPGeoreferenceType
Type: object
Show Source
Nested Schema : rationalPolynomialType
Type: object
Show Source
Nested Schema : gcp
Type: array
Minimum Length: 0
Show Source
Nested Schema : GCPType
Type: object
Show Source
Nested Schema : polynomialType
Type: object
Show Source
Nested Schema : polynomialCoefficients
Type: array
Show Source

401 Response

Authentication information is missing or invalid
Headers
Back to Top

Examples

The following is an example on how to update a GeoRaster Metadata by submitting a PUT request using cURL.

curl -X PUT -d @request.json "https://localhost:8080/oraclespatial/georaster/v1/datasource1/image_table/image/image_table_RDT1/1/metadata" -H "Cookie: JSESSIONID=<jsessionid_value>"

The following is an example of request.json for the request body

{
  "spatialReferenceInfo": {
    "isReferenced": true,
    "SRID": 8307,
    "spatialResolutions": {
      "xResolution": 0.000010743457,
      "yResolution": 0.0000089139724
    },
    "spatialTolerance": 0.5,
    "modelCoordinateLocation": "CENTER",
    "modelType": "functionalFitting",
    "polynomialModel": {
      "rowOff": 0,
      "columnOff": 0,
      "xOff": 0,
      "yOff": 0,
      "zOff": 0,
      "rowScale": 1,
      "columnScale": 1,
      "xScale": 1,
      "yScale": 1,
      "zScale": 1,
      "rowRMS": 0,
      "columnRMS": 0,
      "totalRMS": 0,
      "pPolynomial": {
        "pType": 1,
        "nVars": 2,
        "order": 1,
        "nCoefficients": 3,
        "polynomialCoefficients": [
          3841658.60484871,
          0,
          -112183.4300460644
        ]
      },
      "qPolynomial": {
        "pType": 1,
        "nVars": 0,
        "order": 0,
        "nCoefficients": 1,
        "polynomialCoefficents": [
          1
        ]
      },
      "rPolynomial": {
        "pType": 1,
        "nVars": 2,
        "order": 1,
        "nCoefficents": 3,
        "polynomialCoefficents": [
          6855593.884482141,
          93079.9023945718,
          0
        ]
      },
      "sPolynomial": {
        "pType": 1,
        "nVars": 0,
        "order": 0,
        "nCoefficients": 1,
        "polynomialCoefficients": [
          1
        ]
      }
    }
  }
}
Back to Top