Skip to content

Commit

Permalink
drop spp specific views from FPTWG product
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Feb 22, 2024
1 parent 46ee2da commit 1210255
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions db/views/20_freshwater_fish_habitat_accessibility_model.sql
Original file line number Diff line number Diff line change
@@ -1,62 +1,6 @@
-- for publication to DataBC Catalouge
-- freshwater_fish_habitat_accessibility_MODEL.gpkg.zip

drop view if exists bcfishpass.freshwater_fish_habitat_accessibility_model_salmon_vw;
create view bcfishpass.freshwater_fish_habitat_accessibility_model_salmon_vw as
select
segmented_stream_id,
linear_feature_id,
edge_type,
blue_line_key,
downstream_route_measure,
upstream_route_measure,
watershed_group_code,
gnis_name,
stream_order,
stream_magnitude,
gradient,
wscode,
localcode,
feature_code,
obsrvtn_upstr_salmon,
barriers_anthropogenic_dnstr,
barriers_pscis_dnstr,
barriers_dams_dnstr,
dam_dnstr_ind,
dam_hydro_dnstr_ind,
remediated_dnstr_ind,
geom
from bcfishpass.streams_salmon_vw;


drop view if exists bcfishpass.freshwater_fish_habitat_accessibility_model_steelhead_vw;
create view bcfishpass.freshwater_fish_habitat_accessibility_model_steelhead_vw as
select
segmented_stream_id,
linear_feature_id,
edge_type,
blue_line_key,
downstream_route_measure,
upstream_route_measure,
watershed_group_code,
gnis_name,
stream_order,
stream_magnitude,
gradient,
wscode,
localcode,
feature_code,
obsrvtn_upstr_st,
barriers_anthropogenic_dnstr,
barriers_pscis_dnstr,
barriers_dams_dnstr,
dam_dnstr_ind,
dam_hydro_dnstr_ind,
remediated_dnstr_ind,
geom
from bcfishpass.streams_st_vw;

-- all streams/combined salmon/steelhead product
drop view if exists bcfishpass.freshwater_fish_habitat_accessibility_model_vw;
create view bcfishpass.freshwater_fish_habitat_accessibility_model_vw as
select
Expand Down

0 comments on commit 1210255

Please sign in to comment.