[Liblas-devel] Remove an SRS using LibLas

Howard Butler hobu.inc at gmail.com
Tue Nov 23 09:45:20 EST 2010


On Nov 23, 2010, at 8:28 AM, Brady Callahan wrote:

> Is there a method to remove an SRS from a LAS file using LibLas? I know I can redefine an SRS, but can one remove all reference to an SRS, essentially setting this param to zero or null?

You could always do this through the C++/C/Python APIs, but not through las2las.  You can use the --a_srs switch in las2las to assign a new SRS to the outputted file (which is what I think you might be referring to), but if you set it to an empty string, it would complain.  I have fixed this for the next beta.  It will now be possible to do:

las2las --a_srs "" srs.las output.las

and have output.las end up with no coordinate system attached.

Thanks for the feedback!

Howard


More information about the Liblas-devel mailing list