Create an Export Job
get
{server}/georaster/v1/{datasource}/{tableName}/{georasterColumnName}/{rdt}/{rid}/{format}
Create a job that exports a GeoRaster Object to a file with the specified format. The available formats are the one supported by GDAL. A job will be created and the response will include a job id that can be used to monitor the progress and result of the job.
Request
Path Parameters
-
format(required): string
format for export operation.
-
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
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
202 Response
Export job has been accepted and will be executed asynchronously. The id included in the response should be used to monitor the progress and result of the job by invoking Get Job Status endpoint.
Examples
401 Response
Examples
The following is an example on how to create a job to export a GeoRaster Object into a JPEG file using cURL.
curl -X GET "https://localhost:8080/oraclespatial/georaster/v1/datasource1/image_table/image/image_table_RDT1/1/JPEG?fileName=out.jpg" -H "Cookie: JSESSIONID=<jsessionid_value>"
The following shows an example of the response for the above request:
{ "id": 1675794043556 }