Update route markers and document changes.
This commit is contained in:
parent
8a4219e101
commit
dff7880607
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
GIS base files and routes/Marshal Plan/20181008 - Gun Run 2018 - Marshal Plan A3 rev 3.1.pdf (Stored with Git LFS)
BIN
GIS base files and routes/Marshal Plan/20181008 - Gun Run 2018 - Marshal Plan A3 rev 3.1.pdf (Stored with Git LFS)
Binary file not shown.
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - 10KM rev 3.0.png (Stored with Git LFS)
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - 10KM rev 3.0.png (Stored with Git LFS)
Binary file not shown.
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - 21KM rev 3.0.png (Stored with Git LFS)
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - 21KM rev 3.0.png (Stored with Git LFS)
Binary file not shown.
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - 5KM rev 3.0.png (Stored with Git LFS)
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - 5KM rev 3.0.png (Stored with Git LFS)
Binary file not shown.
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - Routes rev 3.0.pdf (Stored with Git LFS)
BIN
GIS base files and routes/Routes/20181006 - Gun Run 2018 - Routes rev 3.0.pdf (Stored with Git LFS)
Binary file not shown.
|
@ -25,3 +25,30 @@ if (
|
|||
'Start'
|
||||
)
|
||||
|
||||
Create a new text field, quadrants, and set it to the result of:
|
||||
|
||||
CASE
|
||||
WHEN "RouteLen" = '21' THEN
|
||||
CASE
|
||||
WHEN regexp_match( "Name", '^([136]|20|1[45678])$') THEN 'L,TL'
|
||||
WHEN regexp_match( "Name", '^([489]|10|1[123])$') THEN 'R,BR'
|
||||
WHEN regexp_match( "Name", '^([25]|19)$') THEN 'T'
|
||||
WHEN regexp_match( "Name", '^([7])$') THEN 'B'
|
||||
END
|
||||
WHEN "RouteLen" = '10' THEN
|
||||
CASE
|
||||
WHEN regexp_match( "Name", '^[789]$') THEN 'L,TL'
|
||||
WHEN regexp_match( "Name", '^[2456]$') THEN 'R,BR'
|
||||
WHEN regexp_match( "Name", '^[1]$') THEN 'T'
|
||||
WHEN regexp_match( "Name", '^[3]$') THEN 'B'
|
||||
END
|
||||
WHEN "RouteLen" = '5' THEN
|
||||
CASE
|
||||
WHEN regexp_match( "Name", '^[12]$') THEN 'L,TL'
|
||||
WHEN regexp_match( "Name", '^[0]$') THEN 'R,BR'
|
||||
WHEN regexp_match( "Name", '^[4]$') THEN 'T'
|
||||
WHEN regexp_match( "Name", '^[3]$') THEN 'B'
|
||||
|
||||
END
|
||||
END
|
||||
|
||||
|
|
30
README.md
30
README.md
|
@ -80,6 +80,36 @@ if (
|
|||
'Start'
|
||||
)
|
||||
```
|
||||
|
||||
To place the route markers on the appropriate side of the route, use something like the following in the field calculator to create a new text field named `quadrant` (used by the label's position priority in the placement section):
|
||||
```
|
||||
CASE
|
||||
WHEN "RouteLen" = '21' THEN
|
||||
CASE
|
||||
WHEN regexp_match( "Name", '^([136]|20|1[45678])$') THEN 'L,TL'
|
||||
WHEN regexp_match( "Name", '^([489]|10|1[123])$') THEN 'R,BR'
|
||||
WHEN regexp_match( "Name", '^([25]|19)$') THEN 'T'
|
||||
WHEN regexp_match( "Name", '^([7])$') THEN 'B'
|
||||
END
|
||||
WHEN "RouteLen" = '10' THEN
|
||||
CASE
|
||||
WHEN regexp_match( "Name", '^[789]$') THEN 'L,TL'
|
||||
WHEN regexp_match( "Name", '^[2456]$') THEN 'R,BR'
|
||||
WHEN regexp_match( "Name", '^[1]$') THEN 'T'
|
||||
WHEN regexp_match( "Name", '^[3]$') THEN 'B'
|
||||
END
|
||||
WHEN "RouteLen" = '5' THEN
|
||||
CASE
|
||||
WHEN regexp_match( "Name", '^[12]$') THEN 'L,TL'
|
||||
WHEN regexp_match( "Name", '^[0]$') THEN 'R,BR'
|
||||
WHEN regexp_match( "Name", '^[4]$') THEN 'T'
|
||||
WHEN regexp_match( "Name", '^[3]$') THEN 'B'
|
||||
|
||||
END
|
||||
END
|
||||
```
|
||||
(Note that you may wish to allocate particular markers different positional quadrant; edit the above as needed.)
|
||||
|
||||
Once this is done, you may choose to manually relocate the route markers based on the measured route, or remove duplicate finish labels if the endpoint is slightly longer than the final kilometre marking.
|
||||
|
||||
You'll want to copy the style of the existing `router_markers` and paste it on to your new layer in order to display the route markers in an appropriate style (but feel free to tweak the style if you prefer).
|
||||
|
|
Loading…
Reference in New Issue