I’m trying to achieve better tree visualization for low-altitude (helicopter) simulation visualization. I’ve had some luck with the following and was wondering if anyone has a suggestion on improving the process:
-
Download las files from the USGS NationalMap
-
Use las2las to keep only first returns:
las2las -v -i $1 -o filtered.las --first-return-only
- Use las2ogr to create a shape files:
las2ogr -i filtered.las -o filtered.shp -f “ESRI Shapefile”
- Use goal_rasterize to create a GeoTiff:
gdal_rasterize -3d -tr 1 1 filtered.dbf filtered.tif
- Use gdalwarp to add the spatial reference set to the tif:
gdalwarp -s_srs ‘+proj=utm +zone=18 +datum=NAD83’ -t_srs ‘+proj=utm +zone=18 +datum=WGS84’ filtered.tif filteredFinal
- Upload the final GeoTIff to ion.
The results look OK although I’m probably going to have to do some more tuning to improve the appearance.
Ideally I would just upload the original las file into ion and it would have a pipeline to do all of the above.
Any ideas out there?
Thanks, Matt.