I am building an iOS app using ArcGIS Runtime SDK (UIKit) that shows property parcel boundaries in AR using WorldScaleSceneView.
Problem: When basemap is visible, the graphic EXACTLY covers the property boundary on the basemap. But when I reduce the basemap opacity to 0, the graphic appears SMALLER than the actual real world property.
Property Details example sample data:
- Real world size: ~3 acres (~123m x 123m)
- Coordinate system: WGS84 (WKID 4326)
- Coordinates are correct (verified on basemap)
Sample Coordinates:
My Current Setup:
// Scene setup
let scene = AGSScene(basemapStyle: .arcGISImageryStandard)
scene.addElevationSource()
scene.baseSurface?.opacity = 0
arView.locationDataSource = AGSCLLocationDataSource()
arView.translationFactor = 1
// Graphics overlay setup
boundariesGraphicsOverlay.sceneProperties =
AGSLayerSceneProperties(surfacePlacement: .drapedFlat)
// Symbol
AGSSimpleLineSymbol(
style: .solid,
color: UIColor(red: 1.0, green: 1.0, blue: 0.0, alpha: 1.0),
width: 5
)
What I Have Already Tried:
- Verified coordinates are in WGS84
- Added elevation source
- Set translationFactor = 1
- Set surfacePlacement = .drapedFlat
- Verified graphic fits basemap exactly
Questions:
- Why does the graphic appear smaller in real world compared to basemap?
- Is there any additional configuration needed for WorldScaleSceneView to render graphics at true 1:1 real world scale?