Skip to content

Commit

Permalink
process crossings within group of interest only
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Jan 9, 2024
1 parent cefd5d7 commit ca71829
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions model/01_access/sql/load_crossings.sql
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ WITH rail AS
ON st_intersects(pt.geom, wsg.geom)
and nn.distance_to_road < 25
where pt.modelled_crossing_id IS NULL
and pt.watershed_group_code = :'wsg'
),

dra as
Expand All @@ -186,6 +187,7 @@ dra as
ON st_intersects(pt.geom, wsg.geom)
and nn.distance_to_road < 30
where pt.modelled_crossing_id IS NULL
and pt.watershed_group_code = :'wsg'
),

ften as (
Expand All @@ -209,6 +211,7 @@ ften as (
ON st_intersects(pt.geom, wsg.geom)
and nn.distance_to_road < 30
where pt.modelled_crossing_id IS NULL
and pt.watershed_group_code = :'wsg'
),

-- combine DRA and FTEN into a road lookup
Expand Down

0 comments on commit ca71829

Please sign in to comment.