protected function computeCoordinates() { $this->longitude = Image::computeGps($this->data["GPSLongitude"], $this->data['GPSLongitudeRef']); $this->latitude = Image::computeGps($this->data["GPSLatitude"], $this->data['GPSLatitudeRef']); }