Changes between Version 2 and Version 3 of FAQ/las2ascii
- Timestamp:
- Nov 26, 2015, 3:27:13 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ/las2ascii
v2 v3 1 1 === Q: How do I convert between LAS and ASCII file formats? === 2 2 3 To convert between LAS and ASCII formats use the free `las2txt` and `txt2las` tools available as part of LAStools. These are available to download from: https://github.com/LAStools/LAStools (note: download also contains paid for tools not required for conversion). Binaries are provided for Windows. For Linux and OS X you need to compile using the included 'Makefile'3 To convert between LAS and ASCII point cloud formats use the free `las2txt` and `txt2las` tools available as part of LAStools. These are available to download from: https://github.com/LAStools/LAStools (note: download also contains paid for tools not required for conversion). Binaries are provided for Windows. For Linux and OS X you need to compile using the included 'Makefile' 4 4 5 5 ==== LAS to ASCII ==== … … 35 35 To reduce the file size you can change the extension of the output file to '.laz' to save as LASzip files. These can be read by a number of packages and easily converted back to uncompressed LAS files using [https://github.com/LAStools/LAStools/blob/master/bin/laszip_README.txt laszip]. 36 36 37 If you are accessing ARSF archive data LAStools are available on [http://jasmin.ac.uk/ JASMIN] and can be loaded using: 37 ==== Converting on the JASMIN platform ==== 38 39 If you are accessing ARSF data archived at [http://neodc.nerc.ac.uk/ NEODC] and have an account on [http://jasmin.ac.uk/ JASMIN] LAStools are installed and can be loaded using: 38 40 39 41 {{{ … … 41 43 }}} 42 44 43 Allowing data to be converted to LAS/LAZ format before downloading. 45 If you have access to the ARSF archive it will be mapped as `/neodc/arsf` allowing you to convert ASCII files to LAZ before downloading. 46 47 ==== Gridded ASCII format ==== 48 49 If you need to save as a gridded ASCII format (.asc) rather than a point cloud you can use the [https://github.com/pmlrsg/arsf_dem_scripts ARSF DEM Scripts] to export as ENVI format and then convert to ASCII using [http://www.gdal.org/gdal_translate.html gdal_translate] for example: 50 51 {{{ 52 las_to_dsm.py in_las.las -o out_raster.dem 53 54 gdal_translate -of AAIGrid out_raster.dem out_raster.asc 55 }}} 44 56 45 57 [wiki:FAQ Back to FAQ]