Re: [udig-devel] How to add GeoTiff from code

2010-12-20 Thread Jody Garnett
Second approach is good; usually the CRS data has to be baked into your TIFF file (that is what makes it a GeoTIFF). If you don't have such information you could consider adding a "world file" and a "prj" sidecar file. ie same filename but with different extensions. You can also right click on

[udig-devel] How to add GeoTiff from code

2010-12-20 Thread Ned Haubein
Hi, I have a geotiff file that I can drag and drop into uDig with no problems.  I'm trying to add this same file from code, and can't quite figure out how to do it. I've tried two ways, neither with success: First (try/catch ommitted for readability) GeoTiffFormat format = new GeoTiffFormat();