Skip to main content
API Reference SwiftyNsdk NsdkVpsSession

devicePoseAsGeolocation

Use VPS to get an estimated geolocation for a pose in AR space....

Declaration

func devicePoseAsGeolocation(pose: simd_float4x4) -> Result<GeolocationData, VpsGraphOperationError>

Summary

Use VPS to get an estimated geolocation for a pose in AR space.
Requires that the session was configured with gpsCorrectionForContinuousLocalization,
enabled and the user be currently localized.
- Note: Test (private) scans currently don't have GPS data so they cannot be used
with this functionality.
- Parameter pose: A pose in the device's AR space.
- Returns: The estimated geolocation, if available, or an error code otherwise.


ON THIS PAGE