Skip to content

Commit 89e0a08

Browse files
committed
Merge branch 'master' of https://github.com/boshek/bcmaps into boshek-master
2 parents 018dc00 + 631d701 commit 89e0a08

13 files changed

Lines changed: 22 additions & 14 deletions

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Package: bcmaps
22
Title: Map layers for British Columbia
3-
Version: 0.10.1
3+
Version: 0.11.0
44
Authors@R: c(person("Andy", "Teucher", email = "andy.teucher@gov.bc.ca",
55
role = c("aut", "cre")), person("Stephanie", "Hazlitt", email = "stephanie.hazlitt@gov.bc.ca",
6-
role = "aut"),
6+
role = "aut"), person("Sam", "Albers", email = "sam.albers@gov.bc.ca", role = "aut"),
77
person("Province of British Columbia", role="cph"))
88
Description: Various layers of B.C., such as administrative boundaries, natural
99
resource management boundaries, etc. All layers are available as 'sp' objects,

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# bcmaps 0.11.0
2+
3+
* Added `hydrozones` dataset.
4+
15
# bcmaps 0.10.1
26

37
* Fixed ring self-intersctions in `bc_bound_hres` and `airzones` (#13)

R/bc_hyd_zn.R renamed to R/hydrozones.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
#' \href{http://www.data.gov.bc.ca/local/dbc/docs/license/OGL-vbc2.0.pdf}{Open
2828
#' Government License - British Columbia}.
2929

30-
"bc_hyd_zn"
30+
"hydrozones"

README.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ At the moment, there are fifteen layers available:
8181

8282
- `water_precincts`: Boundaries of British Columbia's Water Management Precincts.
8383

84-
- `bc_hyd_zn`: Hydrologic Zone Boundaries of British Columbia.
84+
- `hydrozones`: Hydrologic Zone Boundaries of British Columbia.
8585

8686
To load any of them, simply type `data(layer_name)`, where `layer_name` is the
8787
name of the layer of interest. Then you can use the data as you would any `sp`
@@ -171,6 +171,8 @@ The data and code in this repository is licensed under multiple licenses.
171171

172172
- Source data in `/data-raw/watershed_boundaries` is licensed under the [Open Government License - British Columbia version 2.0](http://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61). See LICENSE.OGL-vbc2.0.pdf in the appropriate directory.
173173

174+
- Source data in `/data-raw/hydrozones` is licensed under the [Open Government License - British Columbia version 2.0](http://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61). See LICENSE.OGL-vbc2.0.pdf in the appropriate directory.
175+
174176
- Source data in `/data-raw/canvec_15M_hydro` and `/data-raw/canvec_5M_hydro` is licensed under the [Open Government License - Canada version 2.0](http://open.canada.ca/en/open-government-licence-canada). See LICENSE.Canada-OGL-2.0 in the appropriate directory.
175177

176178
- Source data in `/data-raw/gw_aquifers`, `/data-raw/water_districts` and `/data-raw/water_precincts` is licensed under the [Open Government License - British Columbia version 2.0](http://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61). See LICENSE.OGL-vbc2.0.pdf in the appropriate directory.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ At the moment, there are fifteen layers available:
6161

6262
- `water_precincts`: Boundaries of British Columbia's Water Management Precincts.
6363

64-
- `bc_hyd_zn`: Hydrologic Zone Boundaries of British Columbia.
64+
- `hydrozones`: Hydrologic Zone Boundaries of British Columbia.
6565

6666
To load any of them, simply type `data(layer_name)`, where `layer_name` is the name of the layer of interest. Then you can use the data as you would any `sp` object.
6767

@@ -163,6 +163,8 @@ The data and code in this repository is licensed under multiple licenses.
163163

164164
- Source data in `/data-raw/watershed_boundaries` is licensed under the [Open Government License - British Columbia version 2.0](http://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61). See LICENSE.OGL-vbc2.0.pdf in the appropriate directory.
165165

166+
- Source data in `/data-raw/hydrozones` is licensed under the [Open Government License - British Columbia version 2.0](http://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61). See LICENSE.OGL-vbc2.0.pdf in the appropriate directory.
167+
166168
- Source data in `/data-raw/canvec_15M_hydro` and `/data-raw/canvec_5M_hydro` is licensed under the [Open Government License - Canada version 2.0](http://open.canada.ca/en/open-government-licence-canada). See LICENSE.Canada-OGL-2.0 in the appropriate directory.
167169

168170
- Source data in `/data-raw/gw_aquifers`, `/data-raw/water_districts` and `/data-raw/water_precincts` is licensed under the [Open Government License - British Columbia version 2.0](http://www2.gov.bc.ca/gov/content?id=A519A56BC2BF44E4A008B33FCF527F61). See LICENSE.OGL-vbc2.0.pdf in the appropriate directory.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ library("sp")
1414
library("rgdal")
1515
library("devtools")
1616

17-
hydrologic_zip <- "data-raw/hydrologic_zones/BC_hydrologic_zones.zip"
17+
hydrologic_zip <- "data-raw/hydrozones/BC_hydrologic_zones.zip"
1818

19-
unzip(hydrologic_zip , exdir = "data-raw/hydrologic_zones")
19+
unzip(hydrologic_zip , exdir = "data-raw/hydrozones")
2020

21-
bc_hyd_zn <- readOGR(dsn = "data-raw/hydrologic_zones/HYD_BC_H_Z",
21+
hydrozones <- readOGR(dsn = "data-raw/hydrozones/HYD_BC_H_Z",
2222
layer = "HYD_BC_H_Z_polygon", stringsAsFactors = FALSE)
2323

24-
bc_hyd_zn <- spTransform(bc_hyd_zn, "+init=epsg:3005")
24+
hydrozones <- spTransform(hydrozones, "+init=epsg:3005")
2525

26-
use_data(bc_hyd_zn, overwrite = TRUE, compress = "xz")
26+
use_data(hydrozones, overwrite = TRUE, compress = "xz")

0 commit comments

Comments
 (0)