/** * Get the nearest feature node to a specified position * * @param Base\Feature $pointSet The series of points from which we want the nearest feature node * @param string $method Distance::METHOD_HAVERSINE or Distance::METHOD_VINCENTY * @return LatLong * @throws Exception */ public function getNearestNeighbour(Base\Feature $pointSet, $method = Distance::METHOD_HAVERSINE) { return $pointSet->getNearestNeighbour($this, $method); }