[Liblas-devel] Error reading two Terrascan .BIN file

Howard Butler hobu.inc at gmail.com
Wed May 12 17:19:45 EDT 2010


On May 12, 2010, at 8:12 AM, jeet_sen wrote:

> 
> HI,
>  I am trying to compare two .BIN files in Windows (VS2008).  
>  Since I do not have the BIn file structure standard, I am following the
> structure as defined in ts2las.hpp available in ts2las utility.
>  As per the structure defined:
>  Header   = 56 bytes
>  ScanPnt = 24 bytes
> 
> Now to compare two files, I read the points simultaneously one after the
> other like this:
> (strmI and strmO are my two file streams containing same no of record
> points)
> 
> std::cout << "Istream position is: " << strmI->tellg() << std::endl;
> std::cout << "Ostream position is: " << strmO->tellg() << std::endl;

Is strmO an ostream or istream?

Please show more code, this isn't enough to see what's going on.





More information about the Liblas-devel mailing list