¡@

Home 

python Programming Glossary: lasfile.file

Python: suggestions to improve a chunk-by-chunk code to read several millions of points

http://stackoverflow.com/questions/12769353/python-suggestions-to-improve-a-chunk-by-chunk-code-to-read-several-millions-of

verts np.array shapes 0 .points float # open las file f lasfile.File inFile None 'r' # open LAS # read header h f.header # create.. h f.header # create a file where store the points file_out lasfile.File outFile mode 'w' header h chunkSize 100000 for i in xrange 0.. code proposed by @Roland Smith and changed by Gianni f lasfile.File inFile None 'r' # open LAS h f.header # change the software..