Hi Carlos, Good questions. To be honest I have been a bit lazy with the API as we have been mainly concentrated on providing support for the command line tools and an extent the python bindings. There haven't been any significant changes to the underlying SPDLib API for about 3 years now (when we released version 3). However, we have started discussions about SPDLib version 4 and this will result in some substantial changes to the underlying code and file format to provide more flexible and extendable support for the latest lidar systems and processing methods. Our aim is to provide much closer support for python throughout as well which should make it easier for people to add their own functionality etc.
Therefore, regarding building on the existing API. It depends on you need and how quickly you want to get something working. Out of interest what are you looking to implement over and above the functionality provided in spdinterp? There is a class hierarchy built on the SPDPointInterpolation class for interpolators which can be passed to the classes (one for DSM, DTM and CHM) in the SPDRasterInterpolation.cpp/.h files. If you just want another interpolator which SPDLib doesn’t really provide then it would be easy to just create a subclass to SPDPointInterpolation and provide it as an option in spdinterp. We could then pull this functionality through to SPDLib version 4 when we update things. However, if you are looking to do your own thing from scratch just using the SPD file format then I wouldn’t recommend it as in the coming months you will probably find it breaks. I hope that helps. To get the API documentation you need to run doxygen on the source code. The Doxyfile file is generated when you run CMake and is within the /doc directory. Cheers, Pete **************************************************** * Dr Pete Bunting * Senior Lecturer 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: [email protected] * ORCID: http://orcid.org/0000-0002-7435-0148 **************************************************** > On 10 Feb 2015, at 07:44, Carlos Piury <[email protected]> wrote: > > Hi, I want to develop an application for generating DEMs from lidar data in > C++. I am studiying the libraries which allow to do this task and I found > SPDLib very interesting, but when I went to the C++ API web page I read the > next: > > "Currently there are a number of changes we wish to make to the C++ API which > will not substantially change the functionality of the library they will > break compatibility with any existing code so documentation has not been > provided for these interfaces and it is not recommended that you use this > until these changes have been made." > > So my questions are: > > 1 - Is a good idea to use SPDLib C++ API to implement my application, or > actually it is not stable due to the changes in the API? > > 2- Where can i find c++ API? > > Thanks > > -- > Carlos I. Piury > > Computer engineer > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/_______________________________________________ > spdlib-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spdlib-develop ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ spdlib-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spdlib-develop
