Showing GIS data on ArcgisArView in World Scale Mode

442 views Asked by At

I was trying to create an android app which shows GIS data in layers in RealTime AR. Something like the one in the image. I am already using ArcGIS runtime SDK to show all the GIS data in 2D map. But i could not find proper documentation to achieve the same in the world-scale AR using the Runtime SDK. Although it is mentioned like "Visualizing hidden infrastructure, like sewers, water mains, and telecom conduits." in the Arcgis Docs . The only sample that i could find was a Navigation app . Can anyone help me with this?enter image description here

2

There are 2 answers

0
Luke Duncan On

Further to dotMorten's answer and the subsequent comments, please see https://github.com/Esri/arcgis-runtime-toolkit-android/blob/master/toolkit-test-app/src/main/java/com/esri/arcgisruntime/toolkit/test/ar/ArcGISArViewActivity.kt for further examples of how to use the ArcGISArView API.

For detecting where a tap has occurred and how to use it with, for example, a GraphicsOverlay, see this section specifically: https://github.com/Esri/arcgis-runtime-toolkit-android/blob/master/toolkit-test-app/src/main/java/com/esri/arcgisruntime/toolkit/test/ar/ArcGISArViewActivity.kt#L328

2
dotMorten On

This is covered in the AR section in the doc, specifically the world-scale AR piece: https://developers.arcgis.com/android/latest/guide/display-scenes-in-augmented-reality.htm

Note that typically the device's location and compass sensors are pretty poor, so typically a bit of initial manual calibration would be required to create a good fit.

The navigation app is a good start, but instead of using a calculated route, you'd just load your utility data into the scene instead. We went with the route-sample because we wouldn't be able to provide good 3D data for the area you are in, but we can generate a route for almost anywhere in the world.