Skip to content

Commit

Permalink
include st_within in python import and scala test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sparing committed Feb 8, 2024
1 parent acc0b2a commit d22a7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/mosaic/api/predicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
######################


__all__ = ["st_intersects", "st_contains"]
__all__ = ["st_intersects", "st_contains", "st_within"]


def st_intersects(left_geom: ColumnOrName, right_geom: ColumnOrName) -> Column:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ trait MosaicContextBehaviors extends MosaicSpatialQueryTest {
noException should be thrownBy getFunc("st_perimeter").apply(Seq(multiPolygon.expr))
noException should be thrownBy getFunc("st_distance").apply(Seq(multiPolygon.expr, pointWkt))
noException should be thrownBy getFunc("st_contains").apply(Seq(multiPolygon.expr, pointWkt))
noException should be thrownBy getFunc("st_within").apply(Seq(multiPolygon.expr, pointWkt))
noException should be thrownBy getFunc("st_translate").apply(Seq(multiPolygon.expr, xLit, yLit))
noException should be thrownBy getFunc("st_scale").apply(Seq(multiPolygon.expr, xLit, yLit))
noException should be thrownBy getFunc("st_rotate").apply(Seq(multiPolygon.expr, xLit, yLit))
Expand Down

0 comments on commit d22a7af

Please sign in to comment.