Skip to content

Instantly share code, notes, and snippets.

@gadomski
Created October 23, 2012 21:37
Show Gist options
  • Save gadomski/3941759 to your computer and use it in GitHub Desktop.
Save gadomski/3941759 to your computer and use it in GitHub Desktop.
Pipeline for generating text outputs of our test file
<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
<Writer type="drivers.text.writer">
<Option name="filename">
dc_neighborhood.json
</Option>
<Option name="order">
X,Y,Z,Red,Green,Blue
</Option>
<Option name="keep_unspecified">
true
</Option>
<Option name="format">
csv
</Option>
<Filter type="filters.colorization">
<Option name="dimension">
Red
<Options>
<Option name="band">1</Option>
</Options>
</Option>
<Option name="dimension">
Green
<Options>
<Option name="band">2</Option>
</Options>
</Option>
<Option name="dimension">
Blue
<Options>
<Option name="band">3</Option>
</Options>
</Option>
<Option name="raster">
/u02/LASdata/rasters/dc_neighborhood.tif
</Option>
<Filter type="filters.selector">
<Option name="overwrite_existing_dimensions">false</Option>
<Option name="ignore_default">true</Option>
<Option name="keep">
<Options>
<Option name="dimension">X</Option>
<Option name="dimension">Y</Option>
<Option name="dimension">Z</Option>
<Option name="dimension">Red</Option>
<Option name="dimension">Green</Option>
<Option name="dimension">Blue</Option>
<Option name="dimension">Intensity</Option>
<Option name="dimension">PointSourceId</Option>
<Option name="dimension">Classification</Option>
</Options>
</Option>
<Option name="create">
<Options>
<Option name="dimension">
Red
<Options>
<Option name="type">uint16_t</Option>
<Option name="size">2</Option>
<Option name="description">Color</Option>
<Option name="endianness">big</Option>
</Options>
</Option>
<Option name="dimension">
Green
<Options>
<Option name="type">uint16_t</Option>
<Option name="size">2</Option>
<Option name="description">Color</Option>
<Option name="endianness">big</Option>
</Options>
</Option>
<Option name="dimension">
Blue
<Options>
<Option name="type">uint16_t</Option>
<Option name="size">2</Option>
<Option name="description">Color</Option>
<Option name="endianness">big</Option>
</Options>
</Option>
</Options>
</Option>
<Reader type="drivers.las.reader">
<Option name="filename">
/u02/LASdata/WashingtonDC/dc_neighborhood.las
</Option>
</Reader>
</Filter>
</Filter>
</Writer>
</Pipeline>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment