XYZRGB to LAS (and ultimately to geoTIFF or KMZ)

191 views
Skip to first unread message

Sandra Bond

unread,
Feb 28, 2017, 7:41:20 PM2/28/17
to LAStools - efficient tools for LiDAR processing
I have a XYZRGB color map (UTM) and I am trying to convert it to something I can use to plot in Google Earth.

I've tried the txt2las tool (to put it into LAS format and ultimately into geoTIFF/kmz), but I always get: Warning: written 18508377 points but expected 0 points and the file appears empty.
I am not sure if I am missing a setting or something.

Does anybody have any clues?

Thanks so much.
Sandra

Martin Isenburg

unread,
Feb 28, 2017, 8:38:10 PM2/28/17
to LAStools - efficient command line tools for LIDAR processing
Hello Sandra,

It would help if you could include a small sample (20 to 50 lines of ASCII) as well as the exact txt2las command line that you have been using.


The control output that txt2las has given you in the console:

WARNING: written 18508377 points but expected 0 points

is exactly what is expected. The LASlib library upon which LAStools is based always warns when there is a discrepancy between the number of points that were written into the LAS header upon opening and the actual number of points written. 

Regards,

Martin @rapidlasso

Bond, Sandra

unread,
Feb 28, 2017, 8:58:39 PM2/28/17
to last...@googlegroups.com
I was finally  able to produce the *las file and see it in the preview. 
This is what my file looks like. I've been trying to bring it into ArcGIS, but I am having trouble reading the *las file. It might be the 'odd' projection (it's raw GPS data for the xyz).

-2647883.283100 -4277132.615688 -0.785700 204 204 204
-2647883.238102 -4277132.637203 -0.787301 204 204 204
-2647883.192799 -4277132.658596 -0.789000 204 204 204
-2647883.147801 -4277132.679989 -0.790600 204 204 204
-2647883.102597 -4277132.701412 -0.792201 204 204 204
-2647883.057400 -4277132.722896 -0.793801 204 204 204
-2647883.012303 -4277132.744289 -0.795300 204 204 204
-2647882.967099 -4277132.765804 -0.796799 204 204 204
-2647882.922001 -4277132.787197 -0.798199 204 204 204


Thank you,
Sandra



--
Sandra Bond
Geographer/LiDAR analyst
U.S. Geological Survey
Placer Hall, CSUS
6000 J Street
Sacramento, CA 95819
Reply all
Reply to author
Forward
0 new messages