Skip to content

@urban-toolkit/autk-db


@urban-toolkit/autk-db / CsvTable

Interface: CsvTable ​

Defined in: interfaces.ts:103

CSV table that may remain tabular or expose renderable geometry.

Represents comma-separated data and can become a point, polyline, or polygon layer when geometry columns are configured during loading.

Extends ​

Properties ​

bands? ​

optional bands?: RasterBandMetadata[]

Defined in: interfaces.ts:59

Optional raster band metadata when the table stores raster data.

Inherited from ​

BaseTable.bands


boundingBox? ​

optional boundingBox?: BoundingBox

Defined in: interfaces.ts:57

Cached layer extent when the table contains geometry data.

Inherited from ​

BaseTable.boundingBox


columns ​

columns: Column[]

Defined in: interfaces.ts:55

Flat schema information returned by DuckDB.

Inherited from ​

BaseTable.columns


name ​

name: string

Defined in: interfaces.ts:53

Unique table name within the active workspace.

Inherited from ​

BaseTable.name


source ​

source: "csv"

Defined in: interfaces.ts:105

Marks the table as originating from the CSV loader.

Overrides ​

BaseTable.source


type? ​

optional type?: "background" | "surface" | "parks" | "water" | "roads" | "buildings" | "points" | "polygons" | "polylines"

Defined in: interfaces.ts:107

Optional renderable layer type when geometry columns were materialized during CSV loading.

Released under the MIT License.