2024 Volume 5 Issue 1 Pages 178-183
To build a digital twin, we devised a microservice that aggregates urban environmental data to TTN service using LoRaWAN, and further distributes it using GraphQL and REST API. The use of LoRaWAN and TTN makes it easy to build a sensor network. In addition to the currently popular REST API, we use GraphQL, which has been adopted by MLIT Multi Data Platform, as the delivery method. GraphQL has the advantage of allowing users to specify and flexibly format the data to be retrieved, and is expected to expand the range of client implementations. The system was verified through actual construction, showing that it is feasible and clarifying problems.