Constructs a Point in theDocumentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
GEOGRAPHY data type created from specified longitude and latitude coordinates.
Coordinate validation and wrapping is applied as explained in the GEOGRAPHY type documentation.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<langitude> | The longitude coordinate of the GEOGRAPHY Point to construct. | DOUBLE PRECISION |
<latitude> | The latitude of the GEOGRAPHY Point to construct. | DOUBLE PRECISION |
Return Type
ST_GEOGPOINT returns a value of type GEOGRAPHY.
Example
The following code example constructs a Point in theGEOGRAPHY data type from longitude and latitude coordinates and converts it to WKT format:
| result (TEXT) |
|---|
| ‘POINT(-73.98551041593687 40.75793403395676)’ |