diff --git a/inputs.cc b/inputs.cc index fb8a851..aece4ac 100644 --- a/inputs.cc +++ b/inputs.cc @@ -128,14 +128,14 @@ int loadClutter(char *filename, double radius, struct site tx) int loadLIDAR(char *filenames, int resample) { char *filename; - char *files[100]; // 10x10 tiles + char *files[256]; // 20x20=400, 16x16=256 tiles int indx = 0, fc = 0, hoffset = 0, voffset = 0, pos, success; double xll, yll, xur, yur, cellsize, avgCellsize = 0, smCellsize = 0; char found, free_page = 0, jline[20], lid_file[255], path_plus_name[255], *junk = NULL; char line[25000]; char * pch; - double TO_DEG = (180 / PI); + double TO_DEG = (180 / PI); FILE *fd; tile_t *tiles; diff --git a/main.cc b/main.cc index 0c73a85..85f0edd 100644 --- a/main.cc +++ b/main.cc @@ -1,4 +1,4 @@ -double version = 3.05; +double version = 3.06; /****************************************************************************\ * Signal Server: Radio propagation simulator by Alex Farrant QCVS, 2E0TDW * ****************************************************************************** @@ -1047,7 +1047,7 @@ int main(int argc, char *argv[]) unsigned char LRmap = 0, txsites = 0, topomap = 0, geo = 0, kml = 0, area_mode = 0, max_txsites, ngs = 0; - char mapfile[255], ano_filename[255], lidar_tiles[4096], clutter_file[255]; + char mapfile[255], ano_filename[255], lidar_tiles[16384], clutter_file[255]; char *az_filename, *el_filename, *udt_file = NULL; double altitude = 0.0, altitudeLR = 0.0, tx_range = 0.0, @@ -1287,7 +1287,7 @@ int main(int argc, char *argv[]) z = x + 1; lidar=1; if (z <= y && argv[z][0] && argv[z][0] != '-') - strncpy(lidar_tiles, argv[z], 4094); + strncpy(lidar_tiles, argv[z], 16382); } if (strcmp(argv[x], "-res") == 0) {