Skip to content

Commit

Permalink
removed st_buffer_cap_style
Browse files Browse the repository at this point in the history
  • Loading branch information
sllynn committed Nov 9, 2023
1 parent f5525c5 commit 0461940
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions python/mosaic/api/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"st_convexhull",
"st_buffer",
"st_bufferloop",
"st_buffer_cap_style",
"st_dump",
"st_envelope",
"st_srid",
Expand Down Expand Up @@ -208,35 +207,6 @@ def st_bufferloop(
)


def st_buffer_cap_style(
geom: ColumnOrName, radius: ColumnOrName, cap_style: ColumnOrName
) -> Column:
"""
Compute the buffered geometry based on geom and radius.
Parameters
----------
geom : Column
The input geometry
radius : Column
The radius of buffering
cap_style : Column
The cap style of the buffer
Returns
-------
Column
A geometry
"""
return config.mosaic_context.invoke_function(
"st_buffer_cap_style",
pyspark_to_java_column(geom),
pyspark_to_java_column(radius),
pyspark_to_java_column(cap_style),
)


def st_dump(geom: ColumnOrName) -> Column:
"""
Explodes a multi-geometry into one row per constituent geometry.
Expand Down

0 comments on commit 0461940

Please sign in to comment.