I've been poking around the Javadoc in Geotools to see what code I
might be able to use to improve JUMP's support for displaying
georeferrenced raster images. I've been looking at the
org.geotools.coverage.grid package mostly.

It seems like the coverage model may be a little more heavy than I
need. This makes sense, as coverages could be a lot more than images,
and all I want is images. Is UDig currently using the coverage code to
display raster images as a map background? Is there an alternative
solution using Geotools?

Here is the basic work flow I am trying to implement:

- The user selects an image file which has a corresponding world file.
- JUMP paints the image file on the map view using the information in
the world file to put the image in the "correct" location.

I know I can use the WorldfileReader class in org.geotools.data to do
some of this work. But I'd like to reuse more code if I could. I'm
also trying to avoid a dependency on JAI or other native libraries. I
was even toying with the idea of using the ImagePlus class from ImageJ
to back a Geotools interface (I'm not sure which one) that represents
a georeferrenced image. This would allow me to automatically pick-up
support for all of the raster formats that ImageJ supports. I can whip
up my own solution using the ImageJ code and the WorldFileReader class
without anything else from Geotools, but I'm trying to increase the
opportunities for sharing.

At any rate, I appreciate suggestions. I'm not sure if I'm on the
right track with the coverage code.

Landon

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to