Skip to content

Commit c9a9fa7

Browse files
committed
more downstreamtrace doc edits
1 parent e97c671 commit c9a9fa7

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

Diff for: docs/04_functions.md

+33-33
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ FWA_DownstreamTrace(
132132

133133
### Description
134134

135-
Return data from streams_vw downstream of provided location.
135+
Return all data from [`whse_basemapping.streams_vw`](https://smnorris.github.io/fwapg/03_tables_views.html#whse-basemapping-fwa-streams-vw) downstream of provided location.
136136

137-
Provides a simple interface to the basic use case of `FWA_Downstream()`, removing the need to work joins or watershed codes.
137+
Provides a simpler interface to the basic use case of `FWA_Downstream()`, removing the need to use joins or watershed codes.
138138

139139
Notes:
140140
- this is a draft function that has not been extensively optimized/tested, performance may suffer when working with major rivers
@@ -144,46 +144,46 @@ Notes:
144144

145145
Return stream data downstream of Sheilds Lake:
146146

147-
148147
```sql
149148
SELECT
150149
blue_line_key,
151150
downstream_route_measure,
152151
stream_order_parent,
153-
channel_width
152+
channel_width,
153+
geom
154154
FROM
155155
FWA_DownstreamTrace(354146454, 3150)
156156
```
157157
```
158-
blue_line_key | downstream_route_measure | stream_order_parent | channel_width
159-
---------------+--------------------------+---------------------+---------------
160-
354146454 | 3127.20524239473 | 3 |
161-
354146454 | 2965.37071386052 | 3 |
162-
354146454 | 2842.60982622329 | 3 |
163-
354146454 | 2679.16744750456 | 3 |
164-
354146454 | 2629.74618714613 | 3 |
165-
354146454 | 2609.65517389417 | 3 | 2.15
166-
354146454 | 2502.91937533387 | 3 | 2.15
167-
354146454 | 2394.95066476193 | 3 | 2.15
168-
354146454 | 2352.13213028193 | 3 | 2.15
169-
354146454 | 2240.02438811748 | 3 | 2.15
170-
354146454 | 2169.25535011117 | 3 | 2.15
171-
354146454 | 2138.31957468439 | 3 | 2.62
172-
354146454 | 2025.39804344686 | 3 | 2.91
173-
354146454 | 1992.73137196029 | 3 | 2.91
174-
354146454 | 1847.8788247426 | 3 | 2.91
175-
354146454 | 960.782490852403 | 3 | 2.91
176-
354146454 | 660.760737217136 | 3 | 3.17
177-
354146454 | 0 | 3 | 3.46
178-
354148774 | 3059.9040521127 | 5 | 5.94
179-
354148774 | 2744.26659482523 | 5 | 6.04
180-
354148774 | 1431.17077828375 | 5 | 6.28
181-
354148774 | 1376.10785016488 | 5 | 6.6
182-
354148774 | 1243.32075546327 | 5 | 6.6
183-
354148774 | 710.353826210263 | 5 | 6.6
184-
354148774 | 15.1842503508841 | 5 | 8.5
185-
354148774 | 0 | 5 | 8.5
186-
354153927 | 4568.48427688637 | | 32.26
158+
blue_line_key | downstream_route_measure | stream_order_parent | channel_width | geom
159+
---------------+--------------------------+---------------------+---------------+------
160+
354146454 | 3127.20524239473 | 3 | |
161+
354146454 | 2965.37071386052 | 3 | |
162+
354146454 | 2842.60982622329 | 3 | |
163+
354146454 | 2679.16744750456 | 3 | |
164+
354146454 | 2629.74618714613 | 3 | |
165+
354146454 | 2609.65517389417 | 3 | 2.15 |
166+
354146454 | 2502.91937533387 | 3 | 2.15 |
167+
354146454 | 2394.95066476193 | 3 | 2.15 |
168+
354146454 | 2352.13213028193 | 3 | 2.15 |
169+
354146454 | 2240.02438811748 | 3 | 2.15 |
170+
354146454 | 2169.25535011117 | 3 | 2.15 |
171+
354146454 | 2138.31957468439 | 3 | 2.62 |
172+
354146454 | 2025.39804344686 | 3 | 2.91 |
173+
354146454 | 1992.73137196029 | 3 | 2.91 |
174+
354146454 | 1847.8788247426 | 3 | 2.91 |
175+
354146454 | 960.782490852403 | 3 | 2.91 |
176+
354146454 | 660.760737217136 | 3 | 3.17 |
177+
354146454 | 0 | 3 | 3.46 |
178+
354148774 | 3059.9040521127 | 5 | 5.94 |
179+
354148774 | 2744.26659482523 | 5 | 6.04 |
180+
354148774 | 1431.17077828375 | 5 | 6.28 |
181+
354148774 | 1376.10785016488 | 5 | 6.6 |
182+
354148774 | 1243.32075546327 | 5 | 6.6 |
183+
354148774 | 710.353826210263 | 5 | 6.6 |
184+
354148774 | 15.1842503508841 | 5 | 8.5 |
185+
354148774 | 0 | 5 | 8.5 |
186+
354153927 | 4568.48427688637 | | 32.26 |
187187
...
188188
```
189189

0 commit comments

Comments
 (0)