Almost everything is on the subject.
You can check it with:
$ lasgrid -i fusa.laz -keep_last -step 1 -point_density -odix
_density -ocsv
$ head fusa.csv
index,x,y,density0,277750.500,6122499.500,3
1,277751.500,6122499.500,3
2,277752.500,6122499.500,3
3,277753.500,6122499.500,6
4,277754.500,6122499.500,3
5,277755.500,6122499.500,7
6,277756.500,6122499.500,3
7,277757.500,6122499.500,6
8,277758.500,6122499.500,3
9,277759.500,6122499.500,3
Strangely, the output file does not have the suffix "_density".
Moreover, if I call lasgrid without -odix _density I get an error:
$ lasgrid -i fusa.laz -keep_last -step 1 -point_density -ocsv
ERROR: zero column pointer not supported by SRwriter_csv
ERROR: cannot open SRwriter_csv
ERROR: could not open srwriter
I already mentioned this error in another email in this list. Is it
a bug in the csv writter?
I'm using:
$ lasgrid -version
LAStools (by
mar...@rapidlasso.com) version 171124 (academic)
Best,
Ellon