|
From: <il...@pr...> - 2004-09-16 22:59:40
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24541 Modified Files: map2d.inc Log Message: We need to shift the coordinates on the location map to make them appear correctly. Index: map2d.inc =================================================================== RCS file: /cvsroot/meshdb/www/db2/map2d.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- map2d.inc 22 Oct 2003 04:52:52 -0000 1.3 +++ map2d.inc 16 Sep 2004 22:59:23 -0000 1.4 @@ -59,7 +59,7 @@ $postproc = "| djpeg | bin/pnmscale -xysize ${w} ${h} | bin/pnmtopng"; } else if ($src == "local") { /* Local map stuff */ - list($lat,$lon) = cvtlatlon($e,$n,$noshift=1); + list($lat,$lon) = cvtlatlon($e,$n); $sc = intval(1.0/doubleval($s)); $cmd = "(cd ../mapdata && ./bin/psplot -g${w}x${h} -- $lat $lon $sc < templ.ps" ."| ./bin/gdps -g${w}x${h} > $tmpfile ) 2>$errfile"; |