[Liblas-devel] Does las2txt support -first_only and -last_only
options?
Howard Butler
hobu.inc at gmail.com
Fri Aug 8 16:32:17 EDT 2008
On Aug 8, 2008, at 6:22 AM, Roberto Antolín wrote:
> Hi all,
>
> Roberto Antolín escribió:
>
>>>> las2txt -i 'las_file' -o 'first_text_file' --parse xyznr --
>>>> first_only
>>>>
>>>> without any parsing error message and without a correct
>>>> first_text_file either.
>> Maybe it is necessary to get a parsing error here as well as for
>> other not allowed options, and then exit. It would avoid some
>> headaches.
>
> Here there is a diff file solving this for las2txt, las2las,
> txt2las, lasinfo and lasmerge commands. Now, typing not permitted
> parameters will make those commands to exit on error. I've done a
> few tests and it works for me. Deeper tests could be done though.
Roberto,
I have applied the patch. For future reference, I would suggest using
Trac at http://liblas.org to file a new ticket with the patch attached
to it so it does not get lost in email communications. Also, patches
sent via email are likely to get quite mangled by email servers.
http://liblas.org/ticket/65
Howard
More information about the Liblas-devel
mailing list