Skip to content

Commit

Permalink
Fix #323 + v2.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Mar 4, 2020
1 parent a2ee1c2 commit 4f78e91
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: lidR
Type: Package
Title: Airborne LiDAR Data Manipulation and Visualization for Forestry
Applications
Version: 2.2.3
Date: 2020-02-29
Version: 2.2.4
Date: 2020-03-04
Authors@R: c(
person("Jean-Romain", "Roussel", email = "jean-romain.roussel.1@ulaval.ca", role = c("aut", "cre", "cph")),
person("David", "Auty", email = "", role = c("aut", "ctb"), comment = "Reviews the documentation"),
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## lidR v2.2.4

#### FIXES

1. Fix segfault on Windows 64 bits when constructing a proj4 from some specific modern WTK strings using `doCheckCRSArgs = FALSE`. [#323](https://github.com/Jean-Romain/lidR/issues/323) [sp #75](https://github.com/edzer/sp/issues/75)

## lidR v2.2.3

#### FIXES
Expand Down
2 changes: 1 addition & 1 deletion R/projection.r
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ setMethod("projection", "LASheader", function(x, asText = TRUE)
proj4@projargs <- gsub("\\+init=epsg:\\d+\\s", "", proj4@projargs)
}
else if (wkt(x) != "")
proj4 <- tryCatch(sp::CRS(rgdal::showP4(wkt(x))), error = function(e) sp::CRS())
proj4 <- tryCatch(sp::CRS(rgdal::showP4(wkt(x)), doCheckCRSArgs = FALSE), error = function(e) sp::CRS())
else
proj4 <- sp::CRS()

Expand Down

0 comments on commit 4f78e91

Please sign in to comment.