User Defined Projection
-----------------------

                 Key: GEOT-2382
                 URL: http://jira.codehaus.org/browse/GEOT-2382
             Project: GeoTools
          Issue Type: Test
          Components: gc geotiff
    Affects Versions: 2.5.1
            Reporter: Romeo Ahohe
         Attachments: MSG_CCGN_20090120153000.GEOTIFF

Reading the attached GeoTiff file with GeoTiffReader generates the following 
exception:

org.geotools.data.DataSourceException: GEOTIFF Module Error Report
GeoTiffMetadata2CRSAdapter::createUserDefinedProjectionParameter(String 
name):User defined projections must specify coordinate transformation code in 
ProjCoordTransGeoKey
ModelPixelScaleTag: [0.0048042791094009985,0.004804279109400998,0.0]
ModelTiePointTag: (1 tie points)
TP #0: [0.0,0.0,0.0] -> [-2.760058348350874,8.505976163194468,0.0]
ModelTransformationTag: NOT AVAILABLE
GeoKey #1: Key = 1, Value = null
GeoKey #2: Key = 1024, Value = 1
GeoKey #3: Key = 1025, Value = 1

        at org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:256)
        at GeoTiff.TiffTags$GetImageTask.displayImage(TiffTags.java:234)
        at GeoTiff.TiffTags$GetImageTask.run(TiffTags.java:154)
        at java.lang.Thread.run(Thread.java:637)
Caused by: org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffException: 
GEOTIFF Module Error Report
GeoTiffMetadata2CRSAdapter::createUserDefinedProjectionParameter(String 
name):User defined projections must specify coordinate transformation code in 
ProjCoordTransGeoKey
ModelPixelScaleTag: [0.0048042791094009985,0.004804279109400998,0.0]
ModelTiePointTag: (1 tie points)
TP #0: [0.0,0.0,0.0] -> [-2.760058348350874,8.505976163194468,0.0]
ModelTransformationTag: NOT AVAILABLE
GeoKey #1: Key = 1, Value = null
GeoKey #2: Key = 1024, Value = 1
GeoKey #3: Key = 1025, Value = 1

        at 
org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffMetadata2CRSAdapter.createUserDefinedProjectionParameter(GeoTiffMetadata2CRSAdapter.java:1140)
        at 
org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffMetadata2CRSAdapter.createUserDefinedPCS(GeoTiffMetadata2CRSAdapter.java:695)
        at 
org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffMetadata2CRSAdapter.createProjectedCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:297)
        at 
org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffMetadata2CRSAdapter.createCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:234)
        at 
org.geotools.gce.geotiff.GeoTiffReader.getHRInfo(GeoTiffReader.java:308)
        at org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:235)
        ... 3 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to