Documentation unclear #44
Closed
boonstoppel
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Oh, sorry we will try to update the README to make that more clear in the future then. The ST class is defined here: it can be imported like so: use Clickbar\Magellan\Database\PostgisFunctions\ST;
$query->stSelect(ST::distanceSphere($currentShipPosition, 'location'), 'distance_to_ship'); i hope this helps :) and thanks for checking out magellan 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the documentation I can see the functions Point::make and ST::distanceSphere but you don't explain where these functions are defined.
I figured out that Point is in Clickbar\Magellan\Data\Geometries\Point:
However it's unclear to me where ST for distanceSphere is defined:
Beta Was this translation helpful? Give feedback.
All reactions