Hi John,
The temppath and usetmp options are only used for generating large SPD files as
the whole file can't be loaded into memory for indexing. Where a format doesn't
support indexing these options are not available or if the file is small enough
to fit into memory then it is faster not to provide them.
I am working on documenting SPDLib in more detail and there are more details
about the options on spdtranslate available here (starting page 15)
https://bitbucket.org/petebunting/spdlib-documentation/downloads
Thanks for the comments about the error message and I have updated it and
pushed to bitbucket.
Best wishes,
Pete
****************************************************
* Dr Pete Bunting
* Senior Lecturer in Remote Sensing
* Institute of Geography and Earth Sciences
* Aberystwyth University
* Aberystwyth
* Ceredigion
* SY23 3DB
* UK
*
* Ph: +44 (0) 1970 622615
* Mob: +44 (0) 7917 842743
* NZ Ph: +64 (0) 4 280 7430
* Email: [email protected]
****************************************************
On 13 Aug 2013, at 00:51, [email protected] wrote:
> Hi Dan,
>
> Ok, I realize the issue now. It works if I run:
>
> spdtranslate -i SPD -o ASCII inspdfile.spd outascfile.asc
>
> But if I use:
>
> spdtranslate --usetmp --temppath /tmp/ -i SPD -o ASCII inspdfile.spd
> outascfile.asc
>
> It returns the misleading output: "Error: This converter only supports
> conversion to the SPD format."
>
> Perhaps the usetmp/temppath flags are outdated? Though they don't
> produce errors for the reverse case (e.g. spdtranslate -i LAS -o SPD).
>
> Thanks for your help.
>
> John
>
>
> On 08/12/2013 04:23 PM, Daniel Clewley wrote:
>> Hi John,
>>
>> What error is it producing? I tried:
>>
>> spdtranslate --if SPD --of ASCII -i inspdfile.spd -o outasciifile.asc
>>
>> and it produced an ASCII file without issues on my machine (using the
>> latest version of SPDLib from the mercurial repository).
>>
>> Thanks,
>>
>> Dan
>>
>> On 12/08/13 15:24, [email protected] wrote:
>>> Hello everyone,
>>>
>>> I am trying to convert SPD files to LAS or ASCII/TXT/CSV files. It
>>> looks like this is not implemented in spdtranslate (using "-o LAS" or
>>> "-o ASCII" fails). I am trying to get discrete points classified with
>>> SPDLib utilities, out of the spd format -- is there a way to do this,
>>> either with the utilities or a C++/python solution? Thanks!
>>>
>>> Cheers,
>>> John
>>>
>>> ------------------------------------------------------------------------------
>>>
>>>
>>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>>> It's a free troubleshooting tool designed for production.
>>> Get down to code-level detail for bottlenecks, with <2% overhead.
>>> Download for free and get started troubleshooting in minutes.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>>>
>>> _______________________________________________
>>> spdlib-develop mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/spdlib-develop
>>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> spdlib-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spdlib-develop
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop