It is also possible to define the raster extend with setting '-ll min_x min_y' and '-ncols 512' and '-nrows 512'."
Hi Patrick,
With lascanopy you have the option to use the “grid_ll” argument. Excerpt from lascanopy_README.txt:
“In order to shift the raster grid that the points are binned into away from the default alignment of (0/0) to (5/15) use '-grid_ll 5 15'.”
Regards,
Jan
--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
Hi Patrick,
I think it is simpler than your pseudo code suggests. If you want to compare gridcell metrics of two (partially) overlapping datasets (which I understand your intent to be) then you must process both datasets with identical grid_ll and step coordinates. Alternatively you manipulate the grid_ll of the tested dataset to make the centroids of the grid cells coincide with those of the reference dataset (using the equations below and using the same -step of course) .
I attach two example output files corresponding to two commands below.
C:\LASTOOLS\BIN\lascanopy -i test.laz -o test1.csv -step 10 -centroids -qav -grid_ll 0 0
C:\LASTOOLS\BIN\lascanopy -i test.laz -o test2.csv -step 10 -centroids -qav -grid_ll 2.5 2.5
See the effect of –grid_ll on the centroids of the cells. The centroid x and y are calculated as
grid_ll x + n* step + step/2
grid_ll y + m* step + step/2
where n, m are whole numbers. The minimum and maximum n/m are determined by bounding box of your data.
This is only one of many different ways to skin this cat but I hope it helps.
Best
Jan
From: last...@googlegroups.com [mailto:last...@googlegroups.com] On Behalf Of pafekety
Sent: Friday, 18 September 2015 4:48 AM
To: LAStools - efficient tools for LiDAR processing
--