This sample project is compatible with ARCore Extensions for AR Foundation v1.37.0.
https://github.com/google-ar/arcore-unity-extensions/releases/tag/v1.37.0
The latitude, longitude, altitude, and azimuth of your smartphone and the accuracy of these are displayed on a screen.
Show a object with AR at the latitude, longitude, and altitude specified on the Inspector in UnityEditor.
For Altitude, you can choose manual input or terrain provided by Geospatial API.
Placement of a object and saving its latitude, longitude, and altitude and local position.
Reproduction of position of a object at the same position of the real world.
Click below to play the demo video.
[File]->[BuildSettings]
Select your development platform (Android/iOS) and click [Switch Platform].
[Edit]->[ProjectSettings]->[XR Plug-in Management]->[ARCore Extensions]
Enter an API key created on Google Cloud Platform.
See [Set up a Google Cloud Project] of the official website for how to create an API Key.
https://developers.google.com/ar/develop/c/geospatial/developer-guide
If you try the scene named 1-PlacingObjectAt_LatLngAlt , you need to specify the latitude, longitude and height on the VPS_Demo object inspector.
Height should be calculated as geoid height + elevation.
[GeoidCalculator]
https://geographiclib.sourceforge.io/cgi-bin/GeoidEval
[elevetion]
Please search app or web service to provide elevation at the specified point of your country.
I held a tutorial event about how to use ARCore Geospatial API in Japan.
A part of tutorial was translated into English. It'll be great if it's helpful for your studying.
https://www.docswell.com/s/Tks_Yoshinaga/5664V5-geospatial-api-en