Each pixel is given an X and Y coordinate (and corresponding PDAL dimensions) that are center pixel, and each band is represented by “band-1”, “band-2”, or “band-n”. The user must know what the bands correspond to, and use filters.ferry to copy data into known dimensions as needed.

Note

filters.ferry is needed because raster data do not map to typical dimension names. For output to formats such as LAS, this mapping is required.

Basic Example¶

{
"pipeline":[
{
"filename":"./pdal/test/data/autzen/autzen.jpg"
},
{
"type":"writers.text",
"filename":"outputfile.txt"
}
]
}


LAS Example¶

The following example writes a JPG as an ASPRS LAS file.

{
"pipeline":[
{
"filename":"./pdal/test/data/autzen/autzen.jpg"
},
{
"type":"filters.ferry"
"dimensions":"band-1=Red, band-2=Green, band-3=Blue",
},
{
"type":"writers.text",
"filename":"outputfile.txt"
}
]
}


Options¶

filename
GDALOpen’able raster file to read [Required]