Create an Import Job

put

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

Create a job that imports a raster file into an existing GeoRaster Object. Supports formats are all GDAL supported file formats.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : creationOption
Type: array
Show Source
Examples

Back to Top

Response

Supported Media Types

202 Response

Import job has been accepted and will be executed asynchronously. Id included in response should be used to monitor job progress and result using Get Status endpoint.
Body ()
Root Schema : jobResponse
Type: object
response for a import or export job created.
Show Source

401 Response

Authentication information is missing or invalid
Headers
Back to Top

Examples

The following is an example on how to create a job to load a raster into a GeoRaster Object by submitting a PUT request using cURL.

curl -X PUT -d '{"fileName": "world.tif","creationOption": ["BLOCKXSIZE=254","SPATIALEXTENT=TRUE"]}' "https://localhost:8080/oraclespatial/georaster/v1/datasource1/image_table/image/image_table_RDT1/1" -H "Cookie: JSESSIONID=<jsessionid_value>"

The following shows an example of the response for the above request:

{
  "id": 29583
}
Back to Top