Interface IHonuaAdminRasterImportClient
Admin raster import (raster write/output) operations over
/api/v1/admin/import/raster. This is the write half of the raster geoprocessing
round-trip; the read half lives on the read-only IHonuaRasterDataClient.
public interface IHonuaAdminRasterImportClient
Methods
GetSupportedRasterFormatsAsync(CancellationToken)
Gets the raster file formats supported by the server
(GET /api/v1/admin/import/raster/formats).
Task<RasterFormatsResponse> GetSupportedRasterFormatsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<RasterFormatsResponse>
The supported raster formats and descriptions.
ImportRasterAsync(RasterImportRequest, CancellationToken)
Imports (uploads) a raster file into PostGIS via multipart upload
(POST /api/v1/admin/import/raster).
Task<RasterImportResult> ImportRasterAsync(RasterImportRequest request, CancellationToken cancellationToken = default)
Parameters
requestRasterImportRequestThe raster import request (content stream, target layer, sidecars, options).
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<RasterImportResult>
The parsed raster import result.