Tile LAS file

This tool separates larger LAS files, containing point cloud data sets derived from laser scanner systems (LiDAR), into smaller tiles of a regular grid. The user specifies the name of an input LAS file (.las file extension), the x and y tile dimensions, the origins of the tile grid (usually set to 0, 0) and the minimum number of points within a tile. Tiles that contain fewer than the minimum number of points will not be output. At present, this tool outputs ShapeFiles of a MultiPointZ ShapeType, rather than LAS files. Output file names will be automatically generated and will be related to the row and column number of the tile. The tool will also output a grid index ShapeFile, which can be used to visualize the number of points contained in each of the output tile ShapeFiles, with the COUNT attribute contained in the index file's attribute table.

See Also:

Scripting:

The following is an example of a Python script using this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.las"
tileSizeX = "1000.0"
tilesizeY = "1000.0"
originX = "0.0"
originY = "0.0"
minNumPoints = "0"
args = [inputFile, tileSizeX, tileSizeY, originX, originY, minNumPoints]
pluginHost.runPlugin("TileLasFile", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.las"
def tileSizeX = "1000.0"
def tilesizeY = "1000.0"
def originX = "0.0"
def originY = "0.0"
def minNumPoints = "0"
String[] args = [inputFile, tileSizeX, tileSizeY, originX, originY, minNumPoints]
pluginHost.runPlugin("TileLasFile", args, false)

Credits: