NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On 1/20/11 3:40 AM, Jon Blower wrote:
Thanks to everyone for very helpful suggestions. I'm going to try to reply to lots of people at once! Sorry if this should have been on the developers' mailing list. Julien - I need to render images (PNG, JPEG, GIF) on a server, for transmission to a client over the web. So I don't want to use Swing, AWT or any desktop-based windowing frameworks. Ideally I'd just like to render a BufferedImage. Don/Jeff - thanks for the suggestions. Given that I can already create a 2D array of values (a "raw" array, separate from the whole GeoGrid set of classes), I think it's worth my looking at VisAD and seeing if I can use this directly, outside of the IDV. Does this sound like a good idea?
Jon -I have done exactly this - utilize the VisAD library outside of IDV to create BufferedImage objects for web distribution. My scenario is this - I have an applet on a web page that sends a data request to a servlet on the web server which uses VisAD to acquire and format the data. Once handed back to the applet, the data is stuffed in a BufferedImage for display. Email me direct if you'd like more info. Here is an example, which gives users global real-time satellite data in one click:
http://www.ssec.wisc.edu/sose/real_time.html -- Tommy Jasmin Space Science and Engineering Center University of Wisconsin, Madison 1225 West Dayton Street, Madison, WI 53706
idvusers
archives: