|
From: Gary J. <ba...@um...> - 2005-09-26 23:02:50
|
I'm having trouble reading in a GeoTIFF image in an Albers equal-area
projection. This error occurs because the csFactory member fails to
initialize in the GeoTiffCoordinateSystemAdapter constructor. I'm at a loss
to explain why this is happening. I don't seem to have any trouble with
shapefiles in Albers equal-area at -96 in NADS83. This is at -99 in WGS84.
If Geotools just won't handle this natively, I'd appreciate if someone could
point me in the right direction so that I can write whatever is necessary to
support it. Thanks for your help!
org.geotools.gce.geotiff.GeoTiffException: GEOTIFF Module Error Report
This GeoTIFF file requires a CSAuthorityFactory.
ModelPixelScaleTag: [499.98,500.0,0.0]
ModelTiePointTag: (1 tie points)
TP #0: [0.0,0.0,0.0] -> [-9000282.758016225,8768377.962857386,0.0]
ModelTransformationTag: NOT AVAILABLE
GeoKey #1: Key = 1, Value = null
GeoKey #2: Key = 1024, Value = 1
GeoKey #3: Key = 1025, Value = 1
GeoKey #4: Key = 2048, Value = 4326
GeoKey #5: Key = 2052, Value = 9001
GeoKey #6: Key = 2054, Value = 9102
GeoKey #7: Key = 3072, Value = 32767
GeoKey #8: Key = 3074, Value = 32767
GeoKey #9: Key = 3075, Value = 11
GeoKey #10: Key = 3076, Value = 9001
GeoKey #11: Key = 3078, Value = 18.983333333333334
GeoKey #12: Key = 3079, Value = 67.75
GeoKey #13: Key = 3080, Value = -99.0
GeoKey #14: Key = 3081, Value = 6.822894444444445
GeoKey #15: Key = 3082, Value = 0.0
at
org.geotools.gce.geotiff.GeoTiffCoordinateSystemAdapter.createUnit(GeoTiffCo
ordinateSystemAdapter.java:690)
at
org.geotools.gce.geotiff.GeoTiffCoordinateSystemAdapter.createUserDefinedPCS
(GeoTiffCoordinateSystemAdapter.java:354)
at
org.geotools.gce.geotiff.GeoTiffCoordinateSystemAdapter.createProjectedCoord
inateSystem(GeoTiffCoordinateSystemAdapter.java:256)
at
org.geotools.gce.geotiff.GeoTiffCoordinateSystemAdapter.createCoordinateSyst
em(GeoTiffCoordinateSystemAdapter.java:229)
at
org.geotools.gce.geotiff.GeoTiffReader.read(GeoTiffReader.java:193)
at
edu.umd.umiacs.glcf.CompoundTIFFGranule.<init>(CompoundTIFFGranule.java:97)
at
edu.umd.umiacs.glcf.modis.MODISGranule.<init>(MODISGranule.java:47)
at
edu.umd.umiacs.glcf.modis.MODISGranule.<init>(MODISGranule.java:43)
at edu.umd.umiacs.glcf.SubsetPrototype.main(SubsetPrototype.java:80)
--
Gary Jackson
ba...@um...
|