Hi @Rajitha Nakandala , thank you for let us know your interest.
After an application already displays or renders real-time IOT data (content), Spatial Anchors can be used to attach the rendering to, in order to persist the content. The application can later locate the content in the same area when it queries for those Spatial Anchors that the content is attached to.
Please refer to the documentation page
https://learn.microsoft.com/en-us/azure/spatial-anchors/ for further information such as tutorials, samples and how to items.
Regarding the other question, do you mean if an IOT Hub device (Raspberry PI) is sufficient or appropriate to run an application that makes use of Spatial Anchors?