bcgov / bcgov/bcmaps

Add crs argument to the three cded functions

Aperta
#94 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
R
Stelle
74
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

add an argument to be able to specify the projection and have the output reprojected. By default it should be bcalbers and cded is not. Otherwise the output of the cded functions do not play nicely with the other bcmaps spatial objects.

```r
ws <- bcdc_query_geodata("51f20b1a-ab75-42de-809d-bf415a0f9c62", crs = bcalb) %>%
filter( WATERSHED_GROUP_CODE == "PARS") %>%
collect() %>% st_as_sf()
dem.ws <- cded_raster(aoi = ws)
crs(dem.ws)
st_crs(ws)
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.