las2las -translate_xyz give overflow values

116 views
Skip to first unread message

Mattias Nyström

unread,
Feb 6, 2015, 9:32:55 AM2/6/15
to last...@googlegroups.com
I have a las-file with the following header information:
  scale factor x y z:         0.0001 0.0001 0.0001
  offset x y z:               10 -10 0
  min x y z:                  39.1013 153.4611 0.3076
  max x y z:                  39.3542 155.9362 4.3836

I want to translate the file in xyz with 6000000 400000 0. If I use the following command:
las2las -i test.las -o test1.las -translate_xyz 6000000 400000 0
it seems that I get an overflow on the coordinates without any information. If I use the following command:
las2las -i test.las -o test1.las -translate_xyz 6400000 420000 0 -reoffset 6000000 400000 0
it all works and I get the coordinates translated ok. I can see why I get this problem (overflow of the point data record for X and Y). But it took a few minutes to find the reason and how to avoid it. Would it be possible to add either a warning that this overflow occurs or adjust the offset automatically?

The las-file is from TLS, therefore the accuracy of 1/10 millimeters.
Reply all
Reply to author
Forward
0 new messages