Hi Narsimha,

This is a problem with how you are calling the command. You have ‘-i’ followed 
by ‘--input_proj’, rather than the input. This is interpreted as having the 
input as ‘--input_proj’, then you are using ‘GDA94MGAZn55.wkt’ as an argument 
without a flag.

Also it needs to be a file not a web address.

As for reverting to a previous version from an earlier email I was under the 
impression you needed LAS 1.3 support which is only available in the latest 
version (hence why you needed the Linux version not the old Windows version).

For the seg fault, I’m not sure why this is happening. Are you sure there isn’t 
a problem with the input file? Do you have read access to the input file and 
write access to where you are trying to write to? If it was working before on 
the same file in the same location can you provide me details of your system 
(OS etc.,) also the outputs of:

conda list

At the moment you haven’t provided much information to go on.

Thanks,

Dan

> On 17 Aug 2016, at 12:40, Narsimha Garlapati <narsimha.garlap...@anu.edu.au> 
> wrote:
> 
> Hi Dan,
>  
> I have tried to input wkt files in various formats and getting the following 
> errors.
>  
> (spdlib) [nxg650@vdi-n4 AHD]$ spdtranslate --if LAS --of SPD -b 10 -x 
> LAST_RETURN -i --input_proj GDA94MGAZn55.wkt -i 687000-6092000.las -o 
> lidartest.spd
>  
>  
> PARSE ERROR: Argument: GDA94MGAZn55.wkt
>              Couldn't find match for argument
>  
> PARSE ERROR: Argument: GDA94MGAZn55.txt
>              Couldn't find match for argument
>  
> PARSE ERROR: Argument: http://spatialreference.org/ref/epsg/28355/ogcwkt 
> <http://spatialreference.org/ref/epsg/28355/ogcwkt>
>              Couldn't find match for argument
>  
> Please let me know if I’m going wrong somewhere, by the way do you think is 
> it better to revert to a  previous stable version?
>  
> Happy to seek your feedback,
>  
> Thanks,
> Nash
>  
> From: Daniel Clewley <daniel.clew...@gmail.com 
> <mailto:daniel.clew...@gmail.com>>
> Date: Wednesday, 17 August 2016 at 4:27 PM
> To: Narsimha Garlapati <narsimha.garlap...@anu.edu.au 
> <mailto:narsimha.garlap...@anu.edu.au>>
> Cc: spdlib-develop <spdlib-develop@lists.sourceforge.net 
> <mailto:spdlib-develop@lists.sourceforge.net>>
> Subject: Re: [spdlib-develop] segmentation fault?
>  
> Hi Narsimha, 
>  
> From my earlier email:
>  
> 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.
>  
> Is this a LAS 1.4 file? If so you need to pass in a text file containing the 
> projection in WKT format using the --input_proj flag. 
> If you don’t already have a WKT file you can download one from 
> http://spatialreference.org/ <http://spatialreference.org/>
>  
> Thanks,
>  
> Dan
> 
> On 17 Aug 2016, at 05:26, Narsimha Garlapati <narsimha.garlap...@anu.edu.au 
> <mailto:narsimha.garlap...@anu.edu.au>> wrote:
>  
> Hi Dan,
> Finally with the kind support from NCI, I have managed to install the latest 
> spdlib.
> To test the new installation I have tried to run a spdtranslate and 
> experiencing the “segmentation fault” error?
> Below is the error message, any suggestions to overcome this?
>  
> (spdlib) [nxg650@vdi-n6 las]$ spdtranslate --if LAS --of SPD -b 10 -x 
> LAST_RETURN -i /g/data1/xc0/user/Garlapati/AHD/las/687000-6092000.las -o 
> lidartest.spd
> spdtranslate SPDLib 3.3.309, Copyright (C) 2016 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 <http://www.spdlib.org/>). Bugs are to be 
> reported on the trac
> or directly to spdlib-develop@lists.sourceforge.net 
> <mailto:spdlib-develop@lists.sourceforge.net>
> Segmentation fault
>  
>  
> Regards,
> Narsimha
>  
>  
> ------------------------------------------------------------------------------
> _______________________________________________
> spdlib-develop mailing list
> spdlib-develop@lists.sourceforge.net 
> <mailto:spdlib-develop@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/spdlib-develop 
> <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