ubarsc / pylidar

A set of Python modules which makes it easy to write lidar processing code in Python
http://www.pylidar.org
GNU General Public License v3.0
15 stars 11 forks source link

Plans on creating a SPDV4 driver in C/C++? #12

Closed gillins closed 4 years ago

gillins commented 4 years ago

Original report by Caio Hamamura (Bitbucket: caiohamamura, GitHub: caiohamamura).


Is there a SPDV4 driver for C/C++? I’d like to use it in my algorithms to convert from and to spdv4 format, as I’m currently working with a custom binary implementation and would like to switch to a more standard format. SPDV4 could be the format standard if it had a solid c/c++ library. And in the future support for compressing algorithms.

gillins commented 4 years ago

Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).


No, the current implementation is in Python. Since PyLidar is a Python project by definition I don’t think there are any plans to re-write the SPDV4 driver in C++.

Since SPDV4 is based on HDF5 writing a C++ reader/writer wouldn’t be too hard. Look at kealib (https://bitbucket.org/chchrsc/kealib) for an example of a C++ library reading an writing files based on HDF5. Be careful not to create files incompatible with PyLidar though!