|
From: <il...@pr...> - 2004-07-28 07:43:10
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25509 Modified Files: index.php Log Message: Reduced the maximum range of the overview maps from 600km to 200km in an effort to make them a bit more usable. This change cuts off two distant nodes but zooms the rest of the map in ~2x. Index: index.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/index.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- index.php 11 May 2004 07:05:38 -0000 1.10 +++ index.php 28 Jul 2004 07:43:01 -0000 1.11 @@ -93,8 +93,8 @@ ." max(e) as maxe," ." max(n) as maxn" ." FROM physloc, admin" - /* limit to a 600km radius about UQ */ - ." WHERE (e-501372)*(e-501372)+(n-6958178)*(n-6958178) < 600000*600000" + /* limit to a 200km radius about UQ */ + ." WHERE (e-501372)*(e-501372)+(n-6958178)*(n-6958178) < 200000*200000" ." AND admin.nodeid = physloc.nodeid" ." AND to_days(now()) - to_days(admin.updated) <= ".$PREF["maxnodeage"], $db) |