snowflake.snowpark.functions.st_makeline¶
- snowflake.snowpark.functions.st_makeline(geography_or_geometry_expression_1: Union[snowflake.snowpark.column.Column, str], geography_or_geometry_expression_2: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns a LINESTRING geography object by connecting the input geography objects in the order they are passed to the function.
- Parameters:
geography_or_geometry_expression_1 (ColumnOrName) – A GEOGRAPHY or GEOMETRY object that represents the first point or set of points in the line.
geography_or_geometry_expression_2 (ColumnOrName) – A GEOGRAPHY or GEOMETRY object that represents the second point or set of points in the line.
- Returns:
A LINESTRING geography object connecting the input geography objects.
- Return type:
- Examples::