Jody,
I've create a branch with some modifications to the tile renderer which
may fix the issue on mac. Is is possible for somebody with a Mac system
to test it out for me?
https://github.com/egouge/udig-platform/tree/tile_rendering
Thanks.
On 25/10/2011 4:25 PM, Emily Gouge wrote:
HI Jody
On 23/10/2011 6:36 PM, Jody Garnett wrote:
Hi Emily:
I have a hard time reviewing any patch of this nature as the tiled
renderer crashes on Mac. I think it has to do with us recycling
buffers between tiles. I think something is disposing the image; and
then we go to draw into it again ... boom!
That seems likely - especially given the comments in the code. If this
in indeed the case I suspect we could make it work with the correct
locks on the image, but I don't have any way of testing any fixes I
might be able to provide.
I have one idea I'd like to try - if I make a branch would you be
willing to test it for me if I'm successful with it?
With that in mind I am going to have to wait for a developer working
on a different platform to review your request.
As for the labels near boundary edges the traditional solution is to
use a "meta tile" to render a larger area (3 x 3 tiles) than strictly
required so that the labels have a chance to sort out their
relationship with their neighbouring tiles. The meta tile is then
divided up into tiles for storage and reuse.
I realize that is the standard way to fix the problem, but I don't think
it will work very well with the way the tile rendering system works. I
think instead I need to review how the label painter works and likely
just have on label painter instead of one for each tile. It needs much
more investigation and thought.
If we are going to persist with the tiled rendering system we will
need to: - add some docs to the developers guide - sort out how to
work around our SWT problem
Can you point me to where in the developers guide you would like me to
add to. And maybe a brief idea of what you are looking for.
Emily
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel