[Liblas-commits] hg: fix #151 where txt2las isn't writing the time
liblas-commits at liblas.org
liblas-commits at liblas.org
Sat Oct 17 20:20:48 EDT 2009
changeset d3d4e935cd37 in /home/www/liblas.org/hg
details: http://hg.liblas.org/main/hg?cmd=changeset;node=d3d4e935cd37
summary: fix #151 where txt2las isn't writing the time
diffstat:
apps/txt2las.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r a71021111af6 -r d3d4e935cd37 apps/txt2las.c
--- a/apps/txt2las.c Sat Oct 17 15:09:23 2009 -0500
+++ b/apps/txt2las.c Sat Oct 17 19:17:49 2009 -0500
@@ -831,6 +831,8 @@
LASPoint_SetY(point, xyz[1]);
LASPoint_SetZ(point, xyz[2]);
+ LASPoint_SetTime(point, gps_time);
+
/* write the first point */
err = LASWriter_WritePoint(writer, point);
if (err) {
@@ -879,6 +881,8 @@
LASPoint_SetY(point, xyz[1]);
LASPoint_SetZ(point, xyz[2]);
+ LASPoint_SetTime(point, gps_time);
+
/* write the first point */
err = LASWriter_WritePoint(writer, point);
if (err) {
More information about the Liblas-commits
mailing list