Hi Will, Sorry for not getting back to your earlier.
Regarding lidar processing in python I am not sure I’d recommend SPDLib. Both the bindings were hacks/experiments to cover needs we had and to be honest they have never been very satisfactory. Therefore, this year Sam Gillingham and others have been developing a new tool pylidar (http://pylidar.org <http://pylidar.org/>) which is effectively going to be a replacement for SPDLib and will include version 4 of the SPD file format. pylidar is not there in terms of all the functionality that SPDLib has it is still relatively early days as Sam has been focusing on the backend I/O and data structures but back at Easter I implemented some first version ground return filtering and interpolation into the system and I don’t know whether these have been developed further. If you are looking to develop and build on to a system I would recommend this over SPDLib. Regarding your query about spdsplit, I am not sure. It is not a command I use regularly but it seemed to work for me. However, it does not produce an indexed output file so you therefore need to use spdtranslate to index it before visualisation. No, I haven’t implemented an option to split all sources into separate files, good suggest but as I said I’ve never really found much need for this command. Best wishes, Pete **************************************************** * Dr Pete Bunting * Reader in Remote Sensing * Earth Observation and Ecosystem Dynamics Group * Department of Geography and Earth Sciences * Aberystwyth University * Aberystwyth * Ceredigion * SY23 3DB * UK * * Ph: +44 (0) 1970 622615 * Mob: +44 (0) 7917 842743 * Email: p...@aber.ac.uk * ORCID: http://orcid.org/0000-0002-7435-0148 **************************************************** "Please consider the environment before printing this email or any documents attached” > On 30 Nov 2015, at 11:34, FE <flatea...@gmx.net> wrote: > > Dear list, > > I'd like to approach with another question: > > I've tried to use the spdlib python bindings via the module spdpy2 to read > and write spd files directly from python. > I work natively on OS X 10.10.5 and tested also on Ubuntu 14.04 via a virtual > machine. I've set PYTHONPATH to > '.../anaconda/envs/spd/lib/python3.4/site-packages' but after importing > spdpy2 following error occurs in OS X: > > In [1]: import spdpy2 > --------------------------------------------------------------------------- > ImportError Traceback (most recent call last) > <ipython-input-1-9722b73e5961> in <module>() > ----> 1 import spdpy2 > > /Users/.../anaconda/envs/spd/lib/python3.4/site-packages/spdpy2/__init__.py > in <module>() > 28 # import the bits of the C++ module _spdpy2 > 29 # that we want to be available at this level > ---> 30 from ._spdpy2 import * > > ImportError: > dlopen(/Users/.../anaconda/envs/spd/lib/python3.4/site-packages/spdpy2/_spdpy2.so, > 2): Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv > Referenced from: > /Users/.../anaconda/envs/spd/lib//./libboost_program_options.dylib > Expected in: /usr/lib/libstdc++.6.dylib > in /Users/.../anaconda/envs/spd/lib//./libboost_program_options.dylib > > > Also in Ubuntu a (different) error occurs: > >>>> import spdpy2 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/home/heinzel/miniconda/envs/spd/lib/python3.4/site-packages/spdpy2/__init__.py", > line 30, in <module> > from ._spdpy2 import * > ImportError: No module named _spdpy2 > > > I use the latest binaries provided via conda. On OS X I've also built the > python module from source according to the instructions given in the readme. > However, the same error occurs. > > I would very be happy if anybody could help with this. > > Without these bindings I have to import/export from my own python processings > to spdlib commands with ASCII which is computationally and memory related > extremely consumptive. > > Thanks a lot, > Will > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 > _______________________________________________ > spdlib-develop mailing list > spdlib-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/spdlib-develop
------------------------------------------------------------------------------
_______________________________________________ spdlib-develop mailing list spdlib-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spdlib-develop