public class ExampleGridAndHillshade extends Object implements IDevelopmentTest
| Constructor and Description |
|---|
ExampleGridAndHillshade() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Provides the main method for an example application
that develops raster elevation files in Esri's ASCII format
and image files in PNG format.
|
void |
runTest(PrintStream ps,
String[] args)
Run the example code accepting an input LAS file and writing an
output grid in Esri's ASCII raster format.
|
public void runTest(PrintStream ps, String[] args) throws IOException
runTest in interface IDevelopmentTestps - a valid print-stream for recording results of processing.args - a set of arguments for configuring the processing.IOException - if unable to read input or write output files.public static void main(String[] args)
Data is accepted from an LAS file. For best results, the file should be in a projected coordinate system rather than a geographic coordinate system. In general, geographic coordinate systems are a poor choice for Lidar data processing since they are non-isotropic, however many data sources provide them in this form.
Command line arguments include the following:
-in <file path> input LAS file
-out <file path> output file path to be used for processing.
-cellSize <value > 0, default 1> the cell size for the output
grids. cell size should be consistent with
nominal pulse spacing of LAS file ground points
-method [Linear, NaturalNeighbor, Regression] default NaturalNeighbor
Interpolation method used for modeling elevations.
Other arguments used by Tinfour test programs are supported
args - command line arguments indicating the input LAS file
for processing and various output options.Copyright © 2019. All rights reserved.