Handle uneven LIDAR tiles

This commit is contained in:
alex
2017-02-07 22:11:05 +00:00
parent 7f26a4e018
commit 22ec06ddb1
3 changed files with 5 additions and 6 deletions

View File

@@ -260,8 +260,8 @@ int loadLIDAR(char *filenames)
IPPD = height;
}
// add fudge as reprojected tiles sometimes vary by a pixel or ten
IPPD+=10;
ARRAYSIZE = (MAXPAGES * IPPD) + 10;
IPPD+=50;
ARRAYSIZE = (MAXPAGES * IPPD) + 50;
do_allocs();
dem_alloced = 1;
}

View File

@@ -1,4 +1,4 @@
double version = 2.95;
double version = 3.00;
/****************************************************************************\
* Signal Server: Radio propagation simulator by Alex Farrant QCVS, 2E0TDW *
******************************************************************************
@@ -38,7 +38,7 @@ double version = 2.95;
#include "image.hh"
int MAXPAGES = 64;
int ARRAYSIZE = 76810;//76810;
int ARRAYSIZE = 76810;
int IPPD = 1200;
char string[255], sdf_path[255], udt_file[255], opened = 0, gpsav =
@@ -1821,7 +1821,6 @@ int main(int argc, char *argv[])
else
DoSigStr(mapfile, geo, kml, ngs, tx_site,
txsites);
}
if(lidar){
east=eastoffset;

View File

@@ -1,7 +1,7 @@
#!/bin/bash
mkdir tests
RAD=5
MAXRAD=40
MAXRAD=20
FRQ=446
ERP=25