Hi Jesse:
thanks for that pointer, it fixed my problem and I was able to display GeoTIFF
files with the Mantario Trail SHAPE file superimposed upon them. I currently
have 6 6Mb GeoTIFF files shown.
I tried translating one of our MrSID images into
GeoTIFF to display much more of the trail, but the GeoTIFF ended up being 600Mb
and uDig couldn't seem to handle that. It would be a lot better if uDig
supported MrSID files which we release a lot of our imagery on the MLI here in
Manitoba in. Or else if you can't support MrSID because of proprietary issues
conflicting with the LGPL license then at least if you supported JPEG2000 would
be an option. I couldn't translate this file into ECW because of a GDAL 500k ECW
SDK issue and anyway uDig doesn't support ECW.
Bob
This is a frusterating problem that I have not been able to
solve. It seems that sometimes it works and sometimes it doesn't. I
found a hack that works though. in the short cut add:
-vmargs -Dosgi.parentClassloader=ext
that worked for me. I will update the install script.
Jesse
On Apr 19, 2007, at 11:11 PM, Bruce, Bob (CON) wrote:
I am using uDig 1.1-RC10a on a WIN XP Pro system
I am
trying to include 6 GeoTIFF files in my uDig project and am getting errors
when I do this. The error message under the GeoTIFF category is:
File
can not be read. Could be a JAI configuration problem or a corrupted
file. Error recieved was: java.lang.IllegalArgumentException: ImageRead:
No OperationDescriptor is registered in the current operation registry under
this name.
So I listed the information about one of the images using
GDALINFO and got this
output:
C:\OpenSourceTestData\MantarioTrail\Zone14Shapes>gdalinfo
7505550neg.tif Driver: GTiff/GeoTIFF Size is 2500, 2500 Coordinate
System is: PROJCS["unnamed",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS
1980",6378137,298.2572221010002,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-99],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["unknown",1], AUTHORITY["EPSG","26914"]] Origin
= (755000.000000000000000,5560000.000000000000000) Pixel Size =
(2.000000000000000,-2.000000000000000) Metadata:
AREA_OR_POINT=Area Corner Coordinates: Upper Left (
755000.000, 5560000.000) ( 95d25'52.66"W, 50d 8'14.41"N) Lower Left
( 755000.000, 5555000.000) ( 95d26'4.68"W, 50d 5'32.84"N) Upper Right
( 760000.000, 5560000.000) ( 95d21'41.29"W, 50d 8'6.60"N) Lower Right
( 760000.000, 5555000.000) ( 95d21'53.54"W, 50d
5'25.04"N) Center ( 757500.000,
5557500.000) ( 95d23'53.04"W, 50d 6'49.74"N) Band 1 Block=2500x3 Type=Byte,
ColorInterp=Gray
Can someone tell me what I'm doing
wrong?
thanks, Bob
Bruce, Winnipeg, Manitoba
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
|