Hi Narsimha,

This isn’t the latest version, the latest version is 3.3. Are you using Python 
3.5?

Try creating a new environment and forcing the version using:

conda create -n spdlib_v3_3 -c osgeo -c rios -c conda-forge spdlib=3.3.0

You will also need to pass in the projection as a WKT file using --input_proj 
as it is currently segfaulting when trying to read the projection from a LAS 
1.4 file.

As I said earlier this has only recently been added and not widely tested so 
expect a couple of problems.

Thanks,

Dan

> On 29 Jul 2016, at 06:14, Narsimha Garlapati <narsimha.garlap...@anu.edu.au> 
> wrote:
> 
> Hi,
> 
> I’m trying to convert LAS1.4 by using the latest version in Linux, but got an 
> error as below.
> Can you please help me out in this regard.
> 
> With thanks,
> Narsimha
> 
> [nxg650@vdi-n15 ~]$ spdtranslate --if LAS --of SPD -b 10 -x LAST_RETURN -i 
> /g/data1/xc0/user/Garlapati/Orthometric/ACT2015-C3-ORT_6826096_55_0002_0002.LAS
>  -o /g/data1/xc0/user/Garlapati/Orthometric/LiDAR6826096_10m.spd 
> 
> spdtranslate SPDLib 3.2.309, Copyright (C) 2014 Sorted Pulse Library (SPD)
> This program comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions; See
> website (http://www.spdlib.org). Bugs are to be reported on the trac
> or directly to spdlib-develop@lists.sourceforge.net
> terminate called after throwing an instance of 'std::out_of_range'
>   what():  version minor out of range
> Aborted
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> 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

Reply via email to