- Start up the FME Workbench and open a blank workspace.
- Select Source Data | Add Dataset. Choose ASPRS Lidar Data Exchange Format (LAS) as the source format. Click Browse and choose a LAS file.
The Add Source Dataset dialog box appears.
- Click OK.
The Select Feature Types dialog box appears.
- Toggle off header and variable_length_header (optional). Click OK.
The source dataset is placed on the workbench.
- Select Destination Data | Add Destination Dataset.
The Add Destination Dataset dialog box appears.
- In the Format field, choose GeoTIFF. Click Browse and choose an output folder as the dataset. Click OK.
The prompt appears.
- Click Yes.
The Feature Type Properties appears.
- If you like, click the Parameters tab and define the output GeoTiff parameters e.g. compress method, world file generation etc. Click OK.
The destination dataset is added to the workbench.
- Drag and drop the CoordinateFetcher, GeometryRemover, 3DPointAdder, RasterDEMGenerator, RasterInterpretationCoercer transformers onto the workbench. Connect them with the source and destination datasets as shown below.
- Open the CoordinateFetcher transformer's parameters and set as shown below.
- Open the 3DPointAdder transformer's parameters.Choose _x, _y, and Intensity as the X Value, Y Value and Z Value.
- Open up the RasterDEMGenerator's parameters. Type in the Output DEM X Cell Spacing and Y Cell Spacing e.g. 1.
- Open up the RasterInterpretationCoercer transformer's Parameters. Choose the Destination Interpretation Type e.g. Gray8. In the Convert from Numeric to Color field, choose Cast.
- Run the translation.
The intensity GeoTiff file is created.
If you find the intensity image looks blown out (too many white spots), you can add in the ExpressionEvaluator transformer to adjust the intensity values before passing them into the RasterDEMGenerator transformer as shown below.
In the ExpressionEvaluator's Properties, scale down the intensity values by multiplying with a factor e.g. 0.25 as shown below to ensure the values fit into the 8-bits grayscale range (0~255). I prefer using the ExpressionEvaluator than the RasterInterpretationCoercer to do this task as I wasn't too happy with the results from the Coercer's Numeric to Color parameter.