Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Sep 27, 2019
1 parent ad68990 commit 44e1969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

6. Tolerance for internal `point_in_triangle()` have been increased to fix double precision error in rasterization of a triangulation. This fixes some rare `NA`s in `pitfree()`, `dsmtin()` and `tin()`.

7. The NAs are now correctly interpreted when writing a GDAL virtual raster [#283](https://github.com/Jean-Romain/lidR/issues/283).

## lidR v2.1.3 (Release date: 2019-09-10)

#### NEW FEATURES
Expand Down
2 changes: 1 addition & 1 deletion R/utils_raster.r
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ rBuildVRT = function(file_list, vrt)
folder <- dirname(file_list[1])
file <- paste0("/", vrt, ".vrt")
vrt <- paste0(folder, file)
gdalUtils::gdalbuildvrt(file_list, vrt)
gdalUtils::gdalbuildvrt(file_list, vrt, vrtnodata = -Inf)
file_list <- raster::stack(vrt)

if (dim(file_list)[3] == 1)
Expand Down

0 comments on commit 44e1969

Please sign in to comment.