wiki:0.9.3

4/11/08

All,

I am pleased to announce the release of libLAS 0.9.3. This release focused on Python bindings and Python autotests for the library. The new Python bindings are located in ./python, and the Windows binaries include a zip file and a .exe installer that can be installed in a Python 2.5 installation.

To see how to use the Python bindings, take a look at the doctests .txt files located in http://liblas.org/browser/trunk/python/tests They are built around the concept of a "file", much like the LASFile interface, with some more Python sugar (like iterator support so you can do 'for point in file:'. I would like to add __geo_interface__ support to them in the near future, but I thought I would get them out there so people can test.

The only requirement to use the Python bindings is the ctypes library, which is standard in 2.5+. If you install your own copy of ctypes, you should be able to use the bindings all the way back to Python 2.3. I have only tested them on 2.5 in both OS X and Windows, however.

Other changes to the library include:
  • Adding LASReader_GetPointAt to support fetching a point at any location in the file
  • Some tweaks to the windows makefiles
  • Fix a copy/paste typo in LASPoint_GetFlightLineEdge (thanks Python autotests)

http://liblas.org/wiki/0.9.3/

Howard

Attachments