Skip to content

Commit

Permalink
refactoring: remove st_make_valid
Browse files Browse the repository at this point in the history
st_make_valid is now useless since  geometries are valid in the
database. #67
  • Loading branch information
PMHLambert committed Mar 21, 2023
1 parent 5561ad4 commit f63e188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utils_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ generate_datasets <- function(con) {
catchment_geom <- sf::st_read(
con,
query = "SELECT * FROM diadesatlas.v_basin vb"
) %>%
mutate(geom = st_make_valid(geom))
) #%>%
#mutate(geom = st_make_valid(geom))
# rmapshaper::ms_simplify(keep = .05)

dataALL <- DBI::dbGetQuery(
Expand Down

0 comments on commit f63e188

Please sign in to comment.