[GRASS5] Can't confirm d.sites/d.what.sites bug report...

Eric G . Miller egm2 at jps.net
Thu Nov 2 00:30:41 EST 2000


The following is in grass/BUGS
===========================================================================
[RC]d.sites/d.what.sites:
 I'm working with grass5 v7 and I'm triyng to display a site file with      
 119000 points. The file is well formatted but the package d.sites stop the  
 display after about 9000 points.                                            
 Also d.what.sites stop reading of files after about 24000 points, it says   
 to me that the memory used is 1860 Kb. 
 If I display the same set of points but with grass4.1.2 it arrives til the
 end.
 (reported by marino vetuschi zuccolini <zucco at ugo.dipteris.unige.it>)
  (being worked on by ?)   
===========================================================================

I looked at the code for d.sites, and the only things that stand out
are, (1) failure of 'if(G_site_get() != 0)' (which could happen due to a
format error for extra/missing parameters before EOF) or (2) Site
doesn't fall within current region.  Neither of these are BUGS.

For a simple test, I "cat'ed" together three runs of s.rand(om) with the
maximum value to get a sites_list of 98 thousand sites.  No problem with
either d.sites or d.what.sites (though the monitor was practically solid
red from all the sites ;).  Maybe this isn't a definitive test (no dims,
or string attributes were present), but it seems to indicate the modules
are working correctly.  Perhaps there was a bug in the beta7 version???
Or, perhaps it's related to sizeof(int) which doesn't have to be very
big???

P.S. Marino, if you're still seeing this, could you double check your
site_lists files for errors?  Perhaps, try upgrading to newer CVS
version and see if the problem persists.  If it does, please report
about your computer architechture/OS (it might help).

-- 
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list