Adapting Legacy Code with Boost.Geometry: A Hydrographic Perspective
07-17, 14:30–15:00 (Europe/Sarajevo), SA02

QPS maintains a substantial legacy codebase of approximately 5.5 million lines of code, developed over the past 35 years to collect, process, analyze, and deliver hydrographic spatial data. Updating this codebase to incorporate new libraries often requires significant refactoring to accommodate new data types.

Recently, we successfully transitioned from an in-house solution to Boost.Geometry for spatial indexing. This transition required far less refactoring than anticipated, primarily due to Boost.Geometry's ability to adapt to our existing geometry types.

Boost.Geometry's geometry types are concrete implementations of "concepts," which facilitate the adaptation of user-defined geometry types to seamlessly integrate with its algorithms and spatial indexing features.

In this presentation, I will:

  • Provide an overview of the unique spatial data we handle in hydrography.
  • Share our success story of transitioning to Boost.Geometry.
  • Discuss how Boost.Geometry enabled us to generalize our spatial indexing.
  • Demonstrate, through a brief code example, how to use concepts to adapt existing types for use with Boost.Geometry.

Join me to learn how Boost.Geometry can streamline your transition to modern spatial indexing solutions while minimizing codebase disruption.


Indicate what is (are) the open source project(s) essential in your talk

Boost.Geometry

Assign a number between 1 and 3 indicating the level of technical complexity of your contribution.

2 - background knowledge helpful

Give indication of resources (video, web pages, papers, etc.) to read in advance, that will help get up to speed on advanced topics.

https://www.boost.org/doc/libs/1_85_0/libs/geometry/doc/html/geometry/reference/concepts.html

Select at least one general theme that best defines your proposal

Data processing and analysis

I make my conference contribution available under the CC BY 4.0 license. The conference contribution comprises the abstract, the text contribution for the conference proceedings, the presentation materials as well as the video recording and live transmission of the presentation – yes

Hydrographic Senior Software Engineer with QPS BV.