0

I am looking for some help drafting code to define the coordinate system for multiple las files. I have seen plenty on how to batch define projections with rasters and shapefiles, but nothing on las files. Is there a lis command for las data? Could that be used in a for loop?

closed as off-topic by BBG_GIS, csk, whyzar, Gabriel De Luca, Erik Mar 19 at 13:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – csk, whyzar, Gabriel De Luca, Erik
If this question can be reworded to fit the rules in the help center, please edit the question.

1

LAS files can have information regarding coordinate reference system (CRS) defined in header. Lots of .las files do not have information about CRS stored. You can use different tools to get this data.

  • lasstools (lasinfo) - you can create batch script to see what is in header and which CRS is set.

    lasinfo -i lidar.laz -odix _info -otxt

  • laspy - probably you can use it to get header data out of each file, have not tested it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.