====== Track/Route Editing ======
----
===== Re-routing =====
* **change** of route **progress**
* route **extending**
* route **shortening**
==== Open the route in the planner ====
* tap the route **directly on map** or in the **[[manual:user_guide:tracks:management|track/route manager]]**
* select **Re-route**:\\ {{ :manual:user_guide:tracks:trkedit01.jpg?nolink |}}
If you open the route detail in the Library, the route planner button is in the bottom bar:\\ {{ :manual:user_guide:tracks:trkedit55.jpg?nolink |}}
==== Changing progress ====
Drag shaping {{:manual:user_guide:tracks:shapept.png?nolink&20|}} and auxiliary {{:manual:user_guide:tracks:auxpt.png?nolink&15|}} points to re-shape route:\\ {{ :manual:user_guide:tracks:trkedit03.png?nolink |}}\\ If the route does not contain shaping points where you need them, tap the place of the route and **make shaping point from an ordinary trackpoint**. This way you can add also via points or navigation points:\\ {{ :manual:user_guide:tracks:trkedit07.gif?nolink |}}\\ Trackpoint changes into a shaping point and a **new auxiliary point creates in between**:\\ {{ :manual:user_guide:tracks:trkedit08.png?nolink |}}
==== Editing navigation commands ====
**Navigation hints** are added to Locus routes **automatically** (it can be [[manual:user_guide:tracks:planning#drawing_instructions|switched off]]). They are displayed as **tiny blue dots** in the line ([[manual:user_guide:settings:points_tracks#show_navigation_commands_on_map|not always]]). When you move the cursor above them, the navigation hint appears:\\ {{ :manual:user_guide:tracks:trkedit44.jpg?nolink |}}
Sometimes you may want to correct these hints:
=== Removing ===
* open route in **Route planner** and **tap the navigation point**:\\ {{ :manual:user_guide:tracks:trkedit45.png?nolink |}}
* select {{:manual:user_guide:tracks:ic_delete_alt.png?nolink&30|}} **Remove** from context menu:\\ {{ :manual:user_guide:tracks:trkedit46.png?nolink |}}
=== Changing ===
* **tap the navigation point** in the route planner
* tap the navigation point button
* select the navigation command:\\ {{ :manual:user_guide:tracks:trkedit47.gif?nolink |}}
=== Adding ===
* open route in **Route planner** and tap the place where you want to add navigation point
* open the trackpoint menu and tap the navigation button
* select navigation command:\\ {{ :manual:user_guide:tracks:trkedit52.gif?nolink |}}
==== Extending ====
Add {{:manual:user_guide:tracks:addpt.png?nolink&30|}}shapepoints or via points {{:manual:user_guide:tracks:viapt.png?nolink&20|}}\\ {{ :manual:user_guide:tracks:trkedit04.png?nolink |}}
==== Shortening ====
Remove {{:manual:user_guide:tracks:rempt.png?nolink&30|}} shaping points:\\ {{ :manual:user_guide:tracks:trkedit05.png?nolink |}}
* When you need to edit an imported route or a recorded track, Locus Map adds shaping points to it automatically
* [[manual:user_guide:tracks:planning|More details about route planning >>]]
==== Saving changes ====
Tap the saving button in the topbar and confirm overwriting the old route:\\ {{ :manual:user_guide:tracks:trkedit06.jpg?nolink |}}
==== Saving as new ====
If you want to create a new route based on the old one, open {{:manual:user_guide:ic_menu_alt.png?nolink&30|}} route menu and tap **Save as new**. The original route stays untouched:\\ {{ :manual:user_guide:tracks:trkedit56.jpg?nolink |}}
* **Clear planner** - discards all changes
===== Edits =====
Sometimes it happens that **tracks or routes need edits**. These can be done in the **Track editor**.
* Tap the track on the **map** or in the **track manager**
* Select **Edit track** from the bottom bar menu:\\ {{ :manual:user_guide:tracks:trkedit54.jpg?nolink |}}
* The track opens in the editor:\\ {{ :manual:user_guide:tracks:trkedit09.png?nolink |}}\\ **1** - trackpoint bar - selected trackpoint number and details, **2** - trackpoint label - distance to end of track, to start of track, elevation and {{:manual:user_guide:ic_edit_alt.png?nolink&30|}}tools button, **3** - trackpoint selector, **4** - map zooming
==== Cutting part of track/route ====
=== Inner part ===
Sometimes weak GPS signal causes deviations in track recording. This way you can cut the deviation out of the line:
* select place on track where to **start cutting** and tap {{:manual:user_guide:ic_edit_alt.png?nolink&30|}}tools button:\\ {{ :manual:user_guide:tracks:trkedit12.png?nolink |}}
* select {{:manual:user_guide:ic_cut_part_track_alt.png?nolink&30|}}**Cut inner part** from the tool menu:\\ {{ :manual:user_guide:tracks:trkedit13.png?nolink |}}
* **tap the other trackpoint** of of your line selection and **confirm**:\\ {{ :manual:user_guide:tracks:trkedit14.png?nolink |}}
* distorted part of the track is replaced by a straight line:\\ {{ :manual:user_guide:tracks:trkedit15.png?nolink |}}
=== Part before ===
Sometimes you import a hiking route including a part driven by car to the trailhead. To delete such part, use {{:manual:user_guide:ic_remove_before_alt.png?nolink&30|}}**Delete all before** tool:
* tap the place on the route to which you want to delete the line from its start:\\ {{ :manual:user_guide:tracks:trkedit17.png?nolink |}}
* select {{:manual:user_guide:ic_remove_before_alt.png?nolink&30|}}**Delete all before** tool:\\ {{ :manual:user_guide:tracks:trkedit16.png?nolink |}}
* **confirm deleting** of the part from the start to your selected point:\\ {{ :manual:user_guide:tracks:trkedit18.png?nolink |}}\\ {{ :manual:user_guide:tracks:trkedit19.png?nolink |}}
=== Part after ===
Sometimes it happens you forget to stop the track recording when arriving from your trip to the train station and the recording goes on in the train. You need to remove the train part:
* tap the place of your track where you arrived at the train station:\\ {{ :manual:user_guide:tracks:trkedit20.png?nolink |}}
* select {{:manual:user_guide:ic_remove_after_alt.png?nolink&30|}}**Delete all after** from the tool mnenu:\\ {{ :manual:user_guide:tracks:trkedit21.png?nolink |}}
* **confirm deleting** of the remaining part of the track:\\ {{ :manual:user_guide:tracks:trkedit22.png?nolink |}}\\ {{ :manual:user_guide:tracks:trkedit23.png?nolink |}}
==== Inserting a gap ====
Imagine you record your running workout and for some reason, you have to use the street bus in the middle of it. You actually forget to pause the recording. Afterward, you need to erase the bus part from your track and leave the space empty.
* tap the point on your track where you got on the bus:\\ {{ :manual:user_guide:tracks:trkedit24.png?nolink |}}
* select {{:manual:user_guide:ic_track_break_insert_alt.png?nolink&30|}}**Insert gap** from the tools menu:\\ {{ :manual:user_guide:tracks:trkedit30.png?nolink |}}
* a gap appears between the selected trackpoint and the next trackpoint:\\ {{ :manual:user_guide:tracks:trkedit25.png?nolink |}}
* repeat the step above until you get to the point you got off the bus and went on running:\\ {{ :manual:user_guide:tracks:trkedit26.png?nolink |}}
This step can be reversed by tapping the trackpoint by the gap and selecting {{:manual:user_guide:ic_track_break_remove_alt.png?nolink&30}}**Remove gap** from the tool menu
==== Splitting track ====
You can split the track into two or more parts e.g. when you have multiple-day track recording:
* tap the point on the track where you want to split it:\\ {{ :manual:user_guide:tracks:trkedit27.jpg?nolink |}}
* select {{:manual:user_guide:ic_split_alt.png?30|}}**Split** from the tools menu:\\ {{ :manual:user_guide:tracks:trkedit31.png?nolink |}}
* confirm if you want to keep the original track or not:\\ {{ :manual:user_guide:tracks:trkedit28.png?nolink |}}
* two new tracks are created in the same folder:\\ {{ :manual:user_guide:tracks:trkedit29.png?nolink |}}
==== Inserting/editing trackpoints ====
Trackpoints are **basic particles** tracks are made of (resp. route points are particles of routes). Track/route editor enables also edits on this miniature level - e.g. when **automatic route drawing makes mistakes**:\\ {{ :manual:user_guide:tracks:trkedit35.png?nolink |}}
* tap the track and select **Insert/edit trackpoints**:\\ {{ :manual:user_guide:tracks:trkedit34.png?nolink |}}
* trackpoints are highlighted {{:manual:user_guide:tracks:trkpoint.png?nolink&15|}} and auxiliary points {{:manual:user_guide:tracks:auxpt.png?nolink&15|}} created on part of the track around your selection:\\ {{ :manual:user_guide:tracks:trkedit36.png?nolink |}}
* **change course** of the track by moving {{:manual:user_guide:tracks:trkpoint.png?nolink&15|}} and **add new trackpoints** by moving {{:manual:user_guide:tracks:auxpt.png?nolink&15|}}. For precise positioning Locus displays situation in a **magnifier**:\\ {{ :manual:user_guide:tracks:trkedit37.png?nolink |}}
* if you want to undo, tap {{:manual:user_guide:ic_undo_alt.png?nolink&30|}}. When you are done, **confirm**:\\ {{ :manual:user_guide:tracks:trkedit38.png?nolink |}}
* route is repaired:\\ {{ :manual:user_guide:tracks:trkedit39.png?nolink |}}
==== Deleting trackpoints ====
Sometimes it happens that Locus receives **wrong coordinates** of one trackpoint from GPS during recording which results in a "tooth" in the track. This can be easily removed by **deleting the invalid trackpoint**.
* tap the wrong part of the track:\\ {{ :manual:user_guide:tracks:trkedit40.png?nolink |}}
* select **Delete trackpoint**:\\ {{ :manual:user_guide:tracks:trkedit43.png?nolink |}}
* **confirm** action:\\ {{ :manual:user_guide:tracks:trkedit41.png?nolink |}}
* repaired track:\\ {{ :manual:user_guide:tracks:trkedit42.png?nolink |}}