I have a question about the method Header::SetDataFormatId(), which is
apparently required when writing a LAS file with liblas.
It seems a bit under-documented - or perhaps the param is well known
to people familiar with the LAS standard (not me).
AFAICT from studying the source, the supported values are:
ePointFormat0: has dimensions "X, Y, Z, Intensity, Return Number,
Number of Returns, Scan Direction, Flightline Edge, Classification,
Scan Angle Rank, User Data, Point Source ID".
ePointFormat1: all of those, plus it adds "Time".
ePointFormat2: adds Color ("Red", "Green", "Blue")
ePointFormat3: adds "Time" and Color.
ePointFormat4: adds "Time" (and WavePacket?)
ePointFormat5: adds ???
Besides clarifying those options a bit more for the documentation,
could someone tell if this means we cannot define our own schema?
E.g. if all we need is X,Y,Z and R,G,B, can we store just those
dimensions to LAS? If so, what valid argument would i pass to
Header::SetDataFormatId() (or the Schema() constructor)?
Thanks,
Ben
_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel