Hi Narsimha, There will be a WKT (Well Known Text) string embedded in the LAS file, so you can just view using lasinfo then copy and paste into a text file. The format will be similar to this: http://spatialreference.org/ref/epsg/28355/ogcwkt/ <http://spatialreference.org/ref/epsg/28355/ogcwkt/> (you could also just use this file).
This is just a workaround for a bug, I had only tested with LAS 1.3 files so hadn’t tried with LAS files containing WKT strings. I’ll try and fix at some point so it will read the WKT string from the LAS file. Thanks, Dan > On 29 Jul 2016, at 08:09, Narsimha Garlapati <narsimha.garlap...@anu.edu.au> > wrote: > > Hi Dan, > I have downloaded latest Miniconda and Python 3.5, it's in HPC environment. > I'm not really sure about .WKT file is? > My data is in GDA94 MGA Zone 55 . > Data provider didn't provide any seperate . WKT file. > Is there anyway that I can develop this? > > Cheers, > Narsimha > > Sent from Narsimha's iPhone ! > > On 29 Jul 2016, at 4:59 PM, Daniel Clewley <daniel.clew...@gmail.com > <mailto:daniel.clew...@gmail.com>> wrote: > >> 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 >>> <mailto: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 <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> >>> 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 >>> <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