I'm trying to set the origin of a georeferenced .las point cloud to be coordinates 0,0,0, essentially stripping the georeferencing. The only way I could think to do this was subtract the minimum X, Y and Z value of each point using lastools (las2las). I was able to do this with the X and Z coordinates, but when I subtracted the Y coordinates something strange happened: starting with a minimum Y value 2,887,191 I subtracted 2,887,191 and got 4,294,967. I haven't been able to get it to 0.
Anyone have any idea what's happening here?
To be clear: I'm interested in setting the minimum x,y and z values of the .las file to 0, 0 and 0, ignoring the header and stripping georeferencing entirely but preserving the spatial relationship of the points. The best mathematical way I can think to do this is to subtract the minimum values of each axis from every point. Does anyone know of tools that can do that?