Update routes

This commit is contained in:
Timothy Allen 2022-08-30 11:56:54 +02:00
parent 6bfdad7365
commit 33d2508ce4
13 changed files with 36677 additions and 30675 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -60,13 +60,7 @@ Now you'll be able to use labels such as `[% csv_club %]` (to print the name of
In order to generate the route markers at the correct locations:
In `all_routes.shp`:
Set a new field, `length_m`, equal to `$length * 100 * 1000`
Set a new field, `length_km`, equal to `$length * 100`
Then generate distances, using the QGIS plugin `Locate points along lines`. The polyline layer should `all_routes.shp`, and the output layer name should be `route_markers`. Leave the offset at 0 (unless you want to start counting some distance after the start!), and set the Interval to `0,01` (this may change depending on your configured units, but it should be one point per kilometre; you may need to play around with the settings). Lastly, check `Keep Attributes` (this allows us to keep the `Source` field for each line, which will connect the point to the route for which it is a marker), and check `Add endpoints`.
Generate distances, using the QGIS plugin `Locate points along lines`. The polyline layer should `all_routes.shp`, and the output layer name should be `route_markers`. Leave the offset at 0 (unless you want to start counting some distance after the start!), and set the Interval to `0,01` (this may change depending on your configured units, but it should be one point per kilometre; you may need to play around with the settings). Lastly, check `Keep Attributes` (this allows us to keep the `Source` field for each line, which will connect the point to the route for which it is a marker), and check `Add endpoints`.
Then, in the field calculator for the new `route_markers` row, set the field `Name` to the calculation:
```