[udig-devel] dpi issues

Vince Darley vince.darley at eurobios.com
Wed Mar 26 15:38:39 PDT 2008


At 21:20 26/03/2008, Jody Garnett wrote:
>I have been thinking a bit more about this; and I agree with you 
>that ApplicationGIS.drawMap() should "do the right thing" taking 
>scale and so forth into account as needed.

Great!

>It sounds like the issue of printing (from BIRT or iText) may need 
>some additional control;

Of course it would eventually be desirable to allow udig to make use 
of BIRT's full 'device' capability which would enable 
device-independent & resolution-independent output to svg, pdf, etc, 
as well as image output.  This would mean providing a udig renderer 
which renders to the birt device api.  (see 
org.eclipse.birt.chart.device.(svg|swt|pdf|...))

I don't know anything about udig rendering chain so have no idea how 
practical that is.  The results would be very impressive, 
however.  My little searching suggested that it would involve 
building a Graphics2D bridge on top of birt's device API (kind of the 
opposite of what org.eclipse.birt.chart.device.swing.SwingRenderImpl does).

But this goes quite far beyond what I'm looking for at the moment, 
which is simply getting decent high-resolution output.

>my gut feeling is we should make some of the MapBoxPrinter / 
>ExportMapToImageWizard functionality available for others to reuse 
>as a separate issue. I have confirmed that the Rescale code has only 
>been applied to trunk.

ok.  I keep thinking we should move to trunk, but I guess it's still 
not ready for much?

regards,

Vince.



More information about the udig-devel mailing list