GSoC 2024 - Final report - istSOS support for data array extension

Title and Organization

Project: istSOS support for data array extension
Organization: Osgeo (Open Source Geospatial Foundation)

Abstract

During the Google Summer of Code 2024, I worked on the project
“istsos-miu”[1] part of the OSGeo[2] Foundation. The goal of the project
was to add the implementation for the data-array extension[3] of the
SensorThings API standard to the istsos project.

The state of the art before GSoC

Before the Google Summer of Code 2024, the istsos project did not support
the data-array extension of the SensorThings API standard.

The addition (added value) that your project brought to the software

Throughout the Google Summer of Code 2024, I have made significant progress
in implementing the data-array extension of the SensorThings API standard
within the istsos project.

Read in the data-array extension

I have implemented the $resultFormat parameter in the SensorThings API
standard to allow users to request data in the data-array format. This
format enables efficient storage and retrieval of multiple data points in a
single request, enhancing the performance and usability of the API.

Create Observation entities with dataArray

I added support for the creation of observation entities using a
dataArray, which allows multiple observations to be created in a single
HTTP request. This simplifies the process, allowing the detection system to
send multiple observations together in a single message, reducing the need
for multiple HTTP POST requests.

The current state of the project

The goal was to implement the data-array extension of the SensorThings API
standard within the istsos project. The standard has been implemented and
tested, and the project is now in a stable state. The code has been merged
into the main branch of the istsos project, and users can now take
advantage of the new feature.

Potential Future Work

Regarding the data-array extension of the SensorThings API standard, the
project has achieved its primary objectives and the functionality has been
successfully implemented.

What code has been merged

All the code that I have written during the Google Summer of Code 2024 has
been merged into the sta branch of the istsos project. The code can be
found in the following repositories:

The list of pull requests that have been merged can be found here:

https://github.com/istSOS/istsos-miu/pulls?q=is%3Apr+author%3Afilippofinke+is%3Aclosed

What I have learned

Throughout the Google Summer of Code 2024, I have learned a great deal
about the SensorThings API standard and its implementation within the
istsos project. I have gained valuable experience in API development,
language design, and open-source collaboration.

Conclusion

As the Google Summer of Code 2024 comes to a close, I am proud of the
progress I have made on the istsos-miu project. I have successfully
implemented the data-array extension of the SensorThings API standard
within the istsos project, and the code has been merged into the main
branch. I have learned a great deal throughout the project and am excited
to continue contributing to the open-source community.

Acknowledgments

I would like to thank my mentors Daniele, Massimiliano and Claudio for
their guidance and support throughout the Google Summer of Code 2024. I
would also like to thank the OSGeo Foundation for providing me with the
opportunity to work on this project. I am grateful for the experience.

Links

https://docs.ogc.org/is/18-088/18-088.html#requirement-data-array-data-array


  1. GitHub - istSOS/istsos-miu: istsos-miu ↩︎

  2. https://www.osgeo.org/ ↩︎

  3. ↩︎
2 Likes