---
title: "getGeoLocation(forPoint:completionHandler:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arsession/getgeolocation(forpoint:completionhandler:)"
---

# getGeoLocation(forPoint:completionHandler:)

Converts a position in the framework’s local coordinate system to latitude, longitude and altitude.

## Declaration

```swift
func getGeoLocation(forPoint position: simd_float3, completionHandler: @escaping @Sendable (CLLocationCoordinate2D, CLLocationDistance, (any Error)?) -> Void)
```

```swift
func geoLocation(forPoint position: simd_float3) async throws -> (CLLocationCoordinate2D, CLLocationDistance)
```

## Parameters

- `position`: Position in local coordinates to convert.
- `completionHandler`: Code that control will execute when this function returns. The session runs this code on its delegate queue. The parameters are:

## Discussion

Discussion ARKit refers to its local coordinate space as “world” coordinate space, but this is different from geographic coordinates. For more information on ARKit’s coordinate space, see setWorldOrigin(relativeTransform:). To succeed, this function requires an ARGeoTrackingConfiguration session with state equal to ARGeoTrackingStatus.State.localized.
