From fbc150fae2b642b42b035bd4e0a3e6c6d922f1c4 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Sun, 26 Oct 2025 18:23:10 +0200 Subject: [PATCH] [routing] Documentation Signed-off-by: mvglasow --- libs/routing/route.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/routing/route.hpp b/libs/routing/route.hpp index 44d9cd17e..deb04aa58 100644 --- a/libs/routing/route.hpp +++ b/libs/routing/route.hpp @@ -87,8 +87,9 @@ public: * * `m_ref` and `m_name` refer to the road itself. * - * This structure is fully populated only for the first segment after a junction. For other - * segments, members may be left at their default values (empty string or false). + * This structure is only populated for the first segment of a feature (segment index is either 0, + * or one less than the segment count of the feature, or the segment is the first segment of the + * route which is not a fake segment). For subsequent segments of the same feature, it is empty. */ struct RoadNameInfo {