Hi Tennesse,
I noticed the same problem. I use the following declutter class and
it made things much faster and I didn't notice much change in the
display.
public class FastDeclutterMatrix extends DeclutterMatrix
{
public Point setNextOpen(Point point,
int pixelLength,
int pixelHeight,
int pixelAwayLimit)
{
int newLimit = java.lang.Math.round(pixelAwayLimit / 8.0f);
return super.setNextOpen(point, pixelLength, pixelHeight, newLimit);
}
}
-- Mark Bucciarelli Peregrine Systems, Inc. R&D, Boston (413) 253-0020 mbucciarelli@peregrine.com Yahoo: m_bucciarelli http://www.peregrine.com > -----Original Message----- > From: Tennessee Leeuwenburg [mailto:t.leeuwenburg@bom.gov.au] > Sent: Thursday, July 05, 2001 9:19 PM > To: openmap-users@bbn.com > Subject: decluttering > > > Hi, > > I'm looking at the decluttering in openmap. It seems a bit > slow, even when > I don't have all that many data points. I was wondering how the > decluttering worked, and whether it would be worthwhile > trying to make the > algorithm a bit more efficient? > > -T > ============================================== > This email contains information which may be useful. The views > expressed within may or may not be the views of the author. > ============================================== > > -Tennessee Leeuwenburg, Silver Stream Pty Ltd > 0418 300 881 > > -- > [To unsubscribe to this list send an email to "majdart@bbn.com" > with the following text in the BODY of the message > "unsubscribe openmap-users"] > -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Jul 6 10:06:55 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT