COST231 bugfix for large city

This commit is contained in:
alex
2016-10-16 20:47:15 +01:00
parent a73e0e3a6e
commit f48234f6d5
3 changed files with 6 additions and 1 deletions

View File

@@ -252,11 +252,15 @@ int loadLIDAR(char *filenames)
height = atoi(pch); // nrows
if (!dem_alloced) {
//Reduce MAXPAGES to increase speed
MAXPAGES=fc;
if(width>height){
IPPD = width;
}else{
IPPD = height;
}
// add fudge as reprojected tiles sometimes vary by a pixel or two
IPPD+=5;
ARRAYSIZE = (MAXPAGES * IPPD) + 10;
do_allocs();
dem_alloced = 1;

View File

@@ -1039,7 +1039,7 @@ int main(int argc, char *argv[])
}
if (strstr(argv[0], "signalserverLIDAR")) {
MAXPAGES = 64; // 8x8
MAXPAGES = 100; // 10x10
lidar = 1;
IPPD = 5000; // will be overridden based upon file header...
}

View File

@@ -44,6 +44,7 @@ http://morse.colorado.edu/~tlen5510/text/classwebch3.html
}
if (mode == 2) {
C = 0; // Medium city (average)
lRxH = log10(1.54 * RxH);
C_H = 8.29 * (lRxH * lRxH) - 1.1;
}
if (mode == 3) {