Closed NewGraphEnvironment closed 1 year ago
putting the code from the script here along with a link to the csv with all the layers this pulls together for ease of reference in the future:
# ---------------
# designatedlands
# ---------------
echo 'Getting designated land layer (https://github.com/bcgov/designatedlands)'
wget -qN https://github.com/bcgov/designatedlands/releases/download/v0.1.0/designatedlands.gpkg.zip -O designatedlands.gpkg.zip
unzip -o designatedlands.gpkg.zip
ogr2ogr -f GPKG background_layers.gpkg \
-update \
-nln designatedlands \
-t_srs EPSG:3005 \
-dim XY \
-spat $BOUNDS \
-spat_srs EPSG:3005 \
-clipsrc aoi.geojson \
-clipsrclayer aoi \
designatedlands.gpkg \
designatedlands
https://github.com/bcgov/designatedlands/blob/master/sources_designations.csv
designated_lands
not rendering after clip bybackgroundlayers.sh
- https://github.com/bcgov/designatedlandsrather than mess with it we will use below as then we also get names and we can poach symbology from bcfishpass.
Will close with commit but can reference later here to see how it was clipped and look for solution if we feel we really need it
whse_admin_boundaries.clab_national_parks
whse_tantalis.ta_park_ecores_pa_svw