BuildIndexFromLocalPoints | R Documentation |
Reads LAS/LAZ file headers to build bounding boxes for each tile and
stores header attributes with each bounding box. Optionally writes
information to outputFile
. Typically used by passing a folder
name in basePath
and a file extension template such as "//.las|//.laz".
You can also specify folders under the basePath
using folderName
and pointFolder
. You can omit all folder information and provide a
list of point files in fullFileList
. CRS information is read from
point files. If you provide projString
, it will override the CRS
found in the point files.
BuildIndexFromLocalPoints(
basePath = "",
fileType = "\\.las|\\.laz",
folderName = "",
pointFolder = "",
projString = NA,
outputCRS = NA,
fullFileList = character(0),
dimensionThreshold = 50000,
headerMethod = "rcpp",
outputFile = NULL,
rebuild = FALSE,
quiet = FALSE
)
basePath |
Path for a folder. Trailing slash should not be included. |
fileType |
Any valid string for the pattern parameter in |
folderName |
Folder name on the |
pointFolder |
Folder under |
projString |
A valid projection string that can be used with the |
outputCRS |
A valid projection string that can be used with the |
fullFileList |
List of point tiles. Will be used instead of generating new list. |
dimensionThreshold |
Size threshold used to omit files from the index. This is intended to help omit invalid LAS/LAZ files from the index. If the height or width of the point tile exceeds the threshold, the tile will be omitted. |
headerMethod |
String indicating the method that should be used to read LAS file headers. Choices are: "direct", "lidr", or "rcpp". |
outputFile |
Full path and filename on the local file system for the index file. |
rebuild |
Boolean. If TRUE, the index is always created. If FALSE, the index is only created if it does not already exist. |
quiet |
Boolean to control display of status information. If TRUE, information is not displayed. Otherwise, status information is displayed. |
An sf
object (invisible) containing tile bounding boxes and attributes.
## Not run:
BuildIndexFromPoints()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.