This new release of fleurdelas can now handle any LAS 1.0, 1.1, 1.2, 1.3 and 1.4 with point format from 0 to 10. It also has an improved writer function.
In IDL Workbench or at the command line type the following command to restore fleurdelas into IDL's memory
IDL> restore, '/fully/qualified/path/to/carbomap_faisdodo_v103.sav'
Now you can start using the tool. To initialization of the fleurdelas object
lasobj = obj_new('fleurdelas')
To load a data file in memory. The input file can be a relative path to the IDL root path, or a fully qualified path
lasobj.loadDataWithPath, inputFile = './data/lasDataFile.las'
To get all the points of the LAS file. Result is an array of structure (of LAS point)
Result = lasobj.getData(/ALL)
To get the 250th data point
pointData = lasobj.getData(pointNumber = 250)
To get the associated waveform, i.e. the 250th waveform (if the LAS version support waveforms)
wavefromData = lasobj.getWave()
To get a set of data points - 100th to 199th point - it could also be any index array with non-consecutive indexes. Note that the laslib::getData() method has a lot of options to filter the point cloud. Please refer to the API page at http://carbomap.github.io/faisdodo.
index = indgen(100)+100
pointsData = lasobj.getData(pointNumber = index)
To get data that lie into the bounding box define by the 4 elements array
pointsData = lasobj.getData(boundingBox=[486492.218750D, 486419.937500D, 239796.812500D, 239399.734375D])
To dump the load data points (the ones from the last laslib::getData() call) into an ascii file
dum = lasobj.dump()
The full API can be found at http://carbomap.github.io/faisdodo