Re: [spdlib-develop] Create new SPD file from python

2015-02-06 Thread Kevin Theuma
[mailto:kevin.the...@um.edu.mt] > *Sent:* Thursday, 5 February 2015 6:47 PM > *To:* Daniel Clewley > *Cc:* spdlib-develop > *Subject:* Re: [spdlib-develop] Create new SPD file from python > > > > Hi Daniel, > > Thank you for your help. > > I managed to

Re: [spdlib-develop] Create new SPD file from python

2015-02-06 Thread John Armston
cheers, John From: Kevin Theuma [mailto:kevin.the...@um.edu.mt] Sent: Thursday, 5 February 2015 6:47 PM To: Daniel Clewley Cc: spdlib-develop Subject: Re: [spdlib-develop] Create new SPD file from python Hi Daniel, Thank you for your help. I managed to solve the problem by setting some header values

Re: [spdlib-develop] Create new SPD file from python

2015-02-05 Thread Kevin Theuma
Hi Daniel, Thank you for your help. I managed to solve the problem by setting some header values. My new code is as follows... import spdpy spdFileOut = spdpy.createSPDFile("lidar. spd") spdWriter = spdpy.SPDPyNoIdxWriter() spdWriter.open(spdFileOut, "lidar.spd") spdFileOut.setReceiveWaveformDe

Re: [spdlib-develop] Create new SPD file from python

2015-02-04 Thread Daniel Clewley
Hi Kevin, Have you tried running spdinfo on the file (to check SPDLib can read it). I ran your code and the file read OK, I think the problem is just writing out to a LAS 1.2 file. If you haven’t seen them already there are some examples of creating an SPD file using the Python bindings with t