Skip to content

@sqlrooms/deck / createDeckMapPointTransformSql

Function: createDeckMapPointTransformSql()

createDeckMapPointTransformSql(options): string

Builds the standard lon/lat → WKB point transform SQL used by Deck map datasets that follow the selected table via DECK_TABLE_DATASET_SOURCE_RELATION.

Parameters

ParameterType
options{ longitudeColumn: string; latitudeColumn: string; geometryColumn: string; }
options.longitudeColumnstring
options.latitudeColumnstring
options.geometryColumnstring

Returns

string