Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
billbillbilly committed Feb 2, 2024
1 parent 7c1ecdd commit d31856f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/calculate_diversity.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ calculate_diversity <- function(viewshed,
land,
proportion = FALSE){
if (isFALSE(terra::crs(land, proj = TRUE) == viewshed@crs)) {
cat("Your input (land) rasters have different
coordinate reference system from the viewshed\n")
cat("Reprojetion will be processing ...\n")
land <- terra::project(land, y=terra::crs(viewshed@crs))
}
pt <- filter_invisible(viewshed, FALSE)
Expand Down

0 comments on commit d31856f

Please sign in to comment.