ST_MAKEGEOMPOINT (Lakehouse v1)
Constrói um objeto GEOMETRY que representa um Point com a longitude e a latitude especificadas.
Sintaxe SQL
Seção intitulada “Sintaxe SQL”ST_MAKEGEOMPOINT(<longitude>, <latitude>)Aliases
Seção intitulada “Aliases”Argumentos
Seção intitulada “Argumentos”| Argumentos | Descrição |
|---|---|
<longitude> |
Um valor Double que representa a longitude. |
<latitude> |
Um valor Double que representa a latitude. |
Tipo de retorno
Seção intitulada “Tipo de retorno”Geometry.
Exemplos de SQL
Seção intitulada “Exemplos de SQL”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) │└────────────────────────────┘