Skip to content

ST_Intersects #63

Answered by saibotk
ihahachi asked this question in Q&A
Aug 30, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Sorry for the late reply.

Actually all actions will need to be done via a database query. You could just use something along the lines of DB::query()->stSelect(ST:intersects($point, $polygon))->get()

(You would need to try this out, I currently cannot check that, just wrote it out of my head.)

Hope that helps!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ihahachi
Comment options

@saibotk
Comment options

Answer selected by ihahachi
@ihahachi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants