Update routes
This commit is contained in:
parent
6bfdad7365
commit
33d2508ce4
33672
GIS Base Map/Gun Run.qgs
33672
GIS Base Map/Gun Run.qgs
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.
|
@ -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:
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue