Skip to content

Commit

Permalink
fix bug with delete features when filter_geom not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Dec 3, 2023
1 parent c5a77af commit ba0273a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/arc-add-update-delete.R
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ delete_features <- function(
}

# convert to the proper CRS if not missing
if (!rlang::is_na(filter_geom)) {
if (!rlang::is_null(filter_geom)) {
# we extract the two CRS object
# then if filter_geom has no crs we use x via `coalesce_crs()`
x_crs <- sf::st_crs(x)
Expand Down

0 comments on commit ba0273a

Please sign in to comment.