Add debug switch

This commit is contained in:
Gareth Evans
2017-06-05 23:09:29 +01:00
parent 90bd2a3d32
commit fbeffe2e98

View File

@@ -88,6 +88,7 @@ int resample_data(int scaling_factor){
}
/* Report to the user */
if (debug)
fprintf(stderr, "Resampling IPPD %d->%d min/max el %d/%d\n", IPPD, new_ippd, min_elevation, max_elevation);
/* Finally, set the new IPPD value */
@@ -403,6 +404,7 @@ int loadLIDAR(char *filenames)
height = (unsigned)((max_north-min_north) / smCellsize);
width = (unsigned)((max_west-min_west) / smCellsize);
if (debug)
fprintf(stderr, "LIDAR LOADED %d x %d\n", width, height);
if (debug)