Skip to content

ST_GeogPoint

Creates a geography POINT from given longitude and latitude coordinates.

Usage

geography ST_GeogPoint(longitude: double, latitude: double)

Arguments

  • longitude (double)
  • latitude (double)

Description

Creates a geography Point from longitude and latitude coordinates.

Examples

SELECT ST_GeogPoint(-64, 45);
┌────────────────────────────────────┐
│ st_geogpoint(Int64(-64),Int64(45)) │
│              geography             │
╞════════════════════════════════════╡
│ POINT(-64 45)                      │
└────────────────────────────────────┘