ST_MAKEGEOMPOINT (Lakehouse v1)
Constructs a GEOMETRY object that represents a Point with the specified longitude and latitude.
SQL Syntax
Section titled “SQL Syntax”ST_MAKEGEOMPOINT(<longitude>, <latitude>)Aliases
Section titled “Aliases”Arguments
Section titled “Arguments”| Arguments | Description |
|---|---|
<longitude> | A Double value that represents the longitude. |
<latitude> | A Double value that represents the latitude. |
Return Type
Section titled “Return Type”Geometry.
SQL Examples
Section titled “SQL Examples”SELECT ST_MAKEGEOMPOINT( 7.0, 8.0 ) AS pipeline_point;
┌────────────────┐│ pipeline_point │├────────────────┤│ POINT(7 8) │└────────────────┘
SELECT ST_MAKEGEOMPOINT( -122.3061, 37.554162 ) AS pipeline_point;
┌────────────────────────────┐│ pipeline_point │├────────────────────────────┤│ POINT(-122.3061 37.554162) │└────────────────────────────┘