From 37f4f203d14cfdf9787932301b5e6743c4815835 Mon Sep 17 00:00:00 2001 From: Chatewgne Date: Thu, 27 Jul 2023 12:08:51 +0200 Subject: [PATCH] Add documentation for command --- docs/install/import.rst | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/install/import.rst b/docs/install/import.rst index 215e7b7ed0..70215e9e57 100644 --- a/docs/install/import.rst +++ b/docs/install/import.rst @@ -851,6 +851,51 @@ You have to run ``sudo geotrek remove_duplicate_paths`` During the process of the command, every topology on a duplicate path will be set on the original path, and the duplicate path will be deleted. +Merge segmented paths +---------------------- + +A path network is most optimized when there is only one path between intersections. +If the path database includes many fragmented paths, they could be merged to improve performances. + +You can run ``sudo geotrek merge_segmented_paths``. **This command can take several hours to run.** + +During the process of the command, every topology on a path will be set on the path it is merged with. + +Before : +:: + + p1 p2 p3 p5 p6 p7 p8 p9 p14 + +-------+------+-------+------+-------+------+-------+------+------+ + | | + | p4 | p13 + | | + + +------- + | | | + | p10 | p16 | + p11 | | | + +------+------+ p15 -------- + | + | p12 + | + +After : +:: + + p1 p6 p14 + +--------------+-----------------------------+---------------------+ + | | + | | p13 + | | + | p10 +------- + | | | + | | p16 | + p11 | | | + +------+------+ p15 -------- + | + | p12 + | + + Unset structure on categories -----------------------------