On 25/08/2012 2:16 AM, Jody Garnett wrote:
By "old version" I mean whatever the state of trunk was around Jan
2012. It wasn't a specific version number; I just checked-out
trunk.
Okay so that narrows it down a bit.
I have a thought Emily; the "last" renderer was sometimes stored in
the layer properties; it always messed up the training course where
you swap between renderers.
Could you check (in a debugger) if it is still being stored (i.e. for
speed) or if uDig is training to determine renderers again each
time.
Thanks Jody -
Do you know when/where the layer properties were set? (Or perhaps you
can point me to the commit log for this change).
From what I can tell uDig is trying to determine which renderers to use
each time it re-draws the map. Every time the map is drawn it calls
this line from RendererCreatorImpl (line 225):
Collections.sort(layerfactories, new RenderMetricsSorter(layers));
I believe this is the slow part. I will try to get a profiler installed
and confirm this is the case.
Do you see the same performance issues when rendering maps in your
version? To me, this is a pretty big deal and makes the application
almost non-useable, especially if I have multiple layers. I want to
ensure that it is not some weird or incorrect configuration I have.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel