Hi all,

it's seemed that Point::Point(Header const* hdr) and void 
Point::SetHeader(Header const* header) behave completely different. The first 
one dosen't copy all the schema stuff and just setting the member and then 
resize internal vector to an default size and dosn't take respect to the point 
type given in the header argument.

I run into these bug by an assert from laszip which checks for point size. 
After using the SetHeader() function instead everything works well and maybe 
it's better to remove the constructor form?

Another pity is the missing of an hint in the tutorial that you have to set an 
Header to the Points to get the right point type.....

Best Regards,

Slinky

_______________________________________________
Liblas-devel mailing list
Liblas-devel@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to