Skip to content

Commit

Permalink
Add documentation for command
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Jan 11, 2024
1 parent 15810c3 commit 37f4f20
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions docs/install/import.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------

Expand Down

0 comments on commit 37f4f20

Please sign in to comment.