@urban-toolkit/autk-db / LoadGeojsonParams
Interface: LoadGeojsonParams
Defined in: use-cases/load-geojson/interfaces.ts:7
Parameters for loading a GeoJSON FeatureCollection into DuckDB as a spatial layer.
Properties
boundingBox?
optionalboundingBox?:BoundingBox
Defined in: use-cases/load-geojson/interfaces.ts:17
Optional bounding box to clip or intersect geometries during import.
coordinateFormat?
optionalcoordinateFormat?:string
Defined in: use-cases/load-geojson/interfaces.ts:15
CRS of the input GeoJSON data (source). Defaults to EPSG:4326.
geojsonFileUrl?
optionalgeojsonFileUrl?:string
Defined in: use-cases/load-geojson/interfaces.ts:9
URL pointing to a GeoJSON FeatureCollection file.
geojsonObject?
optionalgeojsonObject?:FeatureCollection<Geometry,GeoJsonProperties>
Defined in: use-cases/load-geojson/interfaces.ts:11
In-memory GeoJSON FeatureCollection object.
layerType?
optionallayerType?:LayerType
Defined in: use-cases/load-geojson/interfaces.ts:23
Explicitly set the layer type. If omitted, the type is auto-detected from the first feature's geometry.
outputTableName
outputTableName:
string
Defined in: use-cases/load-geojson/interfaces.ts:13
Desired output table name to create in DuckDB.
workspace?
optionalworkspace?:string
Defined in: use-cases/load-geojson/interfaces.ts:19
Optional workspace (schema) name. Defaults to autk when omitted.