Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello
I've not found this information anywhere but apart from setting a property of the type Location in a Thing, is there any location information already embed into a Thing by default, if that Thing had some sort of GPS sensor? If so how would you go about getting to it via the API?
Thank you in advance
Solved! Go to Solution.
Hi Francisco Siviero,
Yes, Location will have to be set as a Property in a Thing. You can create your own Thing template which contain a location property. Then all the things created from that Thing template will inherit the location property.
For the second part of the question; which SDK are you using? Location property can be sent to ThingWorx similar to other properties. Please check PTC Jave SDK Guide for more details.
I hope it helps.
Hi Francisco Siviero,
Yes, Location will have to be set as a Property in a Thing. You can create your own Thing template which contain a location property. Then all the things created from that Thing template will inherit the location property.
For the second part of the question; which SDK are you using? Location property can be sent to ThingWorx similar to other properties. Please check PTC Jave SDK Guide for more details.
I hope it helps.
Hello Ankit
If there needs to be a property set for the Thing itself than I know where to get it Thank you for your answer, it definitely helped.