Changes between Version 18 and Version 19 of Help/LeicaLidarDems
- Timestamp:
- May 19, 2009, 3:32:13 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/LeicaLidarDems
v18 v19 60 60 61 61 62 Assuming that there are only small holes in the data set and the DEM is required only within the lidar swath coverage, we can use the `r.surf.idw` command to interpolate over the lidar. This command will also interpolate into the GRASS region where the LIDAR is undefined.62 Assuming that there are only small holes in the data set and the DEM is required only within the lidar swath coverage, we can use the `r.surf.idw` command to interpolate over the lidar. But because this command only gives integer results, we multiply by 100 first and then divide by 100 afterwards, to try and maintain some precision. This command will also interpolate into the GRASS region where the LIDAR is undefined. 63 63 64 6. '''`r.surf.idw input=lidar_mosaic output=lidar_mosaic_idw`''' 64 6. 65 '''`r.mapcalculator amap=lidar_mosaic formula=100*A outfile=lidar_mosaicx100 help=-`''' 66 67 '''`r.surf.idw input=lidar_mosaicx100 output=lidar_mosaic_idwx100`''' 68 69 '''`r.mapcalculator amap=lidar_mosaic_idwx100 formula=0.01*A outfile=lidar_mosaic_idw help=-`''' 65 70 66 71 where the output raster, lidar_mosaic_idw, has been interpolated using an inverse distance weighted formula. As well as filling in holes within the lidar swath, this will also interpolate over empty parts of the GRASS region, resulting in possibly unrealistic data values. … … 79 84 7. '''`r.mask input=<maskmapname>`''' 80 85 81 and perform the interpolation step :86 and perform the interpolation step (with precision maintaining commands before and after as above): 82 87 83 8. '''`r.surf.idw input=lidar_mosaic output=lidar_mosaic_idw`''' 88 8. 89 '''`r.mapcalculator amap=lidar_mosaic formula=100*A outfile=lidar_mosaicx100 help=-`''' 90 91 '''`r.surf.idw input=lidar_mosaicx100 output=lidar_mosaic_idwx100`''' 92 93 '''`r.mapcalculator amap=lidar_mosaic_idwx100 formula=0.01*A outfile=lidar_mosaic_idw help=-`''' 84 94 85 95 this results in a map where the internal holes have been filled, but the area outside the swath coverage remains unchanged. … … 105 115 }}} 106 116 117 To output the DEM: 118 119 11. '''`r.out.gdal input=<DEMmapname> type=Int16 output=<outputDEMfile>`''' 107 120 ------------ 108 121 == Making the DEM suitable for azgcorr ==