Converting XYZ to LAT,LON,HGT
Converting RiScan output (XYZ) to WGS84 LAT,LON,HGT
Will also convert to lat,lon,alt,R,G,B,A
- Download nlastools.zip
- Unzip the file to get a nlastools directory.
- In there is a lidar2csv.sh script.
Note: This needs to have Java 1.6 in your path.
- You run it with: sh ~/nlastools/lidar2csv.sh -header lowres_Polydata001.txt
Also attached is a lidar.properties file. Place this in the directory where your data files are. This defines the coordinate reference system (I assume wgs84) and the fields.
Note - the above conversion outputs:
#longitude[unit="degrees"],latitude[unit="degrees"],altitude[unit="m"],red[],green[],blue[],amplitude[]
This nlastools package is new and hasn’t been used very much so any feedback would be appreciated.
Article ID: 759
Created: April 22, 2015
Last Updated: April 22, 2015
Author: Jim Normandeau
Online URL: https://kb.unavco.org/article/converting-xyz-to-lat-lon-hgt-759.html