Skip to content
pyautark (soon)

@urban-toolkit/autk-db


@urban-toolkit/autk-db / CsvLatLngGeometryColumns

Interface: CsvLatLngGeometryColumns

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

Describes how to build point geometry from explicit latitude and longitude columns.

Use this shape when coordinate values exist in custom columns or arrive in a CRS that must be transformed.

Example

ts
const geometryColumns: CsvLatLngGeometryColumns = {
  latColumnName: 'lat',
  longColumnName: 'lng',
  coordinateFormat: 'EPSG:4326',
};

Properties

coordinateFormat?

optional coordinateFormat?: string

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

CRS of the source coordinate columns before they are transformed into the workspace CRS.


latColumnName

latColumnName: string

Defined in: use-cases/load-csv/interfaces.ts:27

Name of the column that stores latitude values used to create point geometries.


longColumnName

longColumnName: string

Defined in: use-cases/load-csv/interfaces.ts:29

Name of the column that stores longitude values used to create point geometries.

Released under the MIT License.