Skip to content

@urban-toolkit/autk-db


@urban-toolkit/autk-db / JsonTable

Interface: JsonTable ​

Defined in: interfaces.ts:115

JSON table that may remain tabular or expose renderable geometry.

Represents generic JSON records 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: "json"

Defined in: interfaces.ts:117

Marks the table as originating from the JSON loader.

Overrides ​

BaseTable.source


type? ​

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

Defined in: interfaces.ts:119

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

Released under the MIT License.