Ir al contenido

Crea una geometría de punto a partir de valores de longitud y latitud.

func.st_point(<lng>, <lat>)
func.st_point(-73.9857, 40.7484)
┌────────────┐
│ (geometry) │
└────────────┘
ST_POINT(<lng>, <lat>)
SELECT ST_ASTEXT(ST_POINT(-73.9857, 40.7484));
┌──────────────────────────┐
│ POINT (-73.9857 40.7484) │
└──────────────────────────┘