Skip to content

Commit

Permalink
Remove basin geomertry simplification in R
Browse files Browse the repository at this point in the history
Why?

- Simplification already made in database.

What?

- Remove call to ms_simplify()

Issues #67
  • Loading branch information
ALanguillaume committed Jun 2, 2022
1 parent 0e0143a commit 5526d8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/utils_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ generate_datasets <- function(con) {
catchment_geom <- sf::st_read(
con,
query = "SELECT * FROM diadesatlas.v_basin vb"
) %>%
rmapshaper::ms_simplify()
)

dataALL <- DBI::dbGetQuery(
con,
Expand Down

0 comments on commit 5526d8a

Please sign in to comment.