Skip to content
pyautark (soon)

@urban-toolkit/autk-db


@urban-toolkit/autk-db / LoadGeoTiffParams

Interface: LoadGeoTiffParams

Defined in: use-cases/load-geotiff/interfaces.ts:1

Properties

coordinateFormat?

optional coordinateFormat?: string

Defined in: use-cases/load-geotiff/interfaces.ts:15

CRS of the input GeoTIFF file (source).

Defaults to EPSG:4326 (lat/lng) when omitted. The raster extent metadata will be transformed from this CRS to the workspace CRS. If the raster is not in EPSG:4326, pass the correct CRS explicitly.


geotiffArrayBuffer?

optional geotiffArrayBuffer?: ArrayBuffer

Defined in: use-cases/load-geotiff/interfaces.ts:5

Raw ArrayBuffer of an already-fetched GeoTIFF file.


geotiffFileUrl?

optional geotiffFileUrl?: string

Defined in: use-cases/load-geotiff/interfaces.ts:3

URL of the GeoTIFF file to fetch and load.


maxPixels?

optional maxPixels?: number

Defined in: use-cases/load-geotiff/interfaces.ts:25

Deprecated alias for maxRasterCells.


maxRasterCells?

optional maxRasterCells?: number

Defined in: use-cases/load-geotiff/interfaces.ts:21

Maximum number of raster cells to decode into memory. Larger rasters are downsampled to fit this limit. Defaults to 1 000 000.


outputTableName

outputTableName: string

Defined in: use-cases/load-geotiff/interfaces.ts:7

Name of the output DuckDB table.


resampleMethod?

optional resampleMethod?: "nearest" | "bilinear"

Defined in: use-cases/load-geotiff/interfaces.ts:30

Resampling method used when downsampling large rasters. Defaults to 'bilinear'.


workspace?

optional workspace?: string

Defined in: use-cases/load-geotiff/interfaces.ts:31

Released under the MIT License.