[GRASS-SVN] r46907 - grass/trunk/vector/v.in.lidar
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 1 04:58:04 EDT 2011
Author: mmetz
Date: 2011-07-01 01:58:04 -0700 (Fri, 01 Jul 2011)
New Revision: 46907
Modified:
grass/trunk/vector/v.in.lidar/main.c
Log:
fix min/max
Modified: grass/trunk/vector/v.in.lidar/main.c
===================================================================
--- grass/trunk/vector/v.in.lidar/main.c 2011-07-01 08:57:18 UTC (rev 46906)
+++ grass/trunk/vector/v.in.lidar/main.c 2011-07-01 08:58:04 UTC (rev 46907)
@@ -249,10 +249,10 @@
offset_y = LASHeader_GetOffsetY(LAS_header);
offset_z = LASHeader_GetOffsetZ(LAS_header);
- xmin = LASHeader_GetMinX(LAS_header) * scale_x + offset_x;
- xmax = LASHeader_GetMaxX(LAS_header) * scale_x + offset_x;
- ymin = LASHeader_GetMinY(LAS_header) * scale_y + offset_y;
- ymax = LASHeader_GetMaxY(LAS_header) * scale_y + offset_y;
+ xmin = LASHeader_GetMinX(LAS_header);
+ xmax = LASHeader_GetMaxX(LAS_header);
+ ymin = LASHeader_GetMinY(LAS_header);
+ ymax = LASHeader_GetMaxY(LAS_header);
/* Print LAS header */
if (print_flag->answer) {
More information about the grass-commit
mailing list