From: Sandro Santilli Date: Fri, 5 Mar 2004 15:29:35 +0000 (+0000) Subject: more verbose output X-Git-Tag: pgis_0_8_2~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b5148b91087f10d37840698133f518aa491a23d;p=postgis more verbose output git-svn-id: http://svn.osgeo.org/postgis/trunk@465 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/test_estimation.pl b/utils/test_estimation.pl index dca519aa0..c292d90e8 100755 --- a/utils/test_estimation.pl +++ b/utils/test_estimation.pl @@ -75,7 +75,9 @@ if ( $res->resultStatus != PGRES_COMMAND_OK ) { @extents = ( \%ext ); -print "Type: $TYPE\n"; +print " Type: $TYPE\n"; +print "Extent: ".print_extent(\%ext)."\n" if ($VERBOSE); + $ext = \%ext; #print "BPS: $bps (".@extents." cells)\n"; @@ -165,16 +167,17 @@ sub split_extent @$stack = (); for ($x=$ext->{'xmin'}; $x<$ext->{'xmax'}; $x += $cell_width) { - #print "X: $x\n"; for ($y=$ext->{'ymin'}; $y<$ext->{'ymax'}; $y += $cell_height) { local(%cell); - #print "Y: $y\n"; $cell{'xmin'} = $x; $cell{'ymin'} = $y; $cell{'xmax'} = $x+$cell_width; $cell{'ymax'} = $y+$cell_height; #print "PUSH\n"; + + print "cell: ".print_extent(\%cell)."\n" if ($VERBOSE); + #print "Y: $y\n" if ($VERBOSE); push(@$stack, \%cell); } } @@ -208,6 +211,9 @@ sub test_extent # # $Log$ +# Revision 1.2 2004/03/05 15:29:35 strk +# more verbose output +# # Revision 1.1 2004/03/05 11:52:24 strk # initial import #