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
-
georasterColumnName(required): string
The name of the GeoRaster ColumnExamples
-
rdt(required): string
The Raster Data Table (RDT) Name.Examples
-
rid(required): integer
The Raster ID (RID) of the GeoRaster Object.Examples
-
tableName(required): string
The name of the table, could be prefixed with a schema nameExamples
Supported Media Types
- application/json
Examples
Back to Top
Response
Supported Media Types
- application/json
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.
401 Response
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 }