[Liblas-devel] Iterating of the points in a LAS file.

Mateusz Loskot mateusz at loskot.net
Fri Nov 14 13:54:01 EST 2008


John Hayes pisze:
> Hi,
>   I'm using LASReader_GetNextPoint() to iterate over the points in a
> LAS file.  However I need to walk the points twice.  I do not see a
> way to "rewind" the iterator.  I know I could use
> LASReader_GetPointAt() but the iterator interface is cleaner for my
> workflow.
> 
> Are there plans to add rewind method?  If not I could added myself.

John,

Could you please paste exact code showing how you iterate and where you 
need to read the same point twice?
This will be helpful to give you best advice.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the Liblas-devel mailing list