I don't any information regarding how the file was generated. I simply
assumed that it was a proper geotiff since my data provider told me so.
However, I do have the same problem with GeoTiff files generated by ArcView,
the widely used GIS software package. I have added that file to the same
JIRA (GEOT-2382) to help you diagnose the problem. The file name is:
EarthSatTestGEOTIFFImage.tif

Thanks,

Romeo



Daniele Romagnoli-2 wrote:
> 
> Hi Romeo,
> it seems that the inner GeoKey tags declare a projected CRS (Setting
> GTModelTypeGeoKey = 1 = ModelTypeProjected).
> However, there is neither a ProjectedCSTypeGeoKey (containing a well known
> Projection code) nor a  ProjCoordTransGeoKey  / PCSCitationGeoKey which
> are
> needed to handle a user-defined projected CRS. Therefore, the GeoTiff
> reader
> has no way to know how to handle the user-defined Projection.
> 
> The only additional GeoKey Tag I have found on that file is the
> GTCitationKey which referes to a "MTOTiff2GEOTiff" text.
> Therefore I guess that this GeoTiff have been generated by some custom
> script but I have no knowledge about how this script handles/write
> CoordinateReferenceSystem information.
> 
> Do you have more info on this?
> 
> Regards,
> Daniele
> 
> 
> On Tue, Mar 17, 2009 at 4:17 PM, Romeo <[email protected]> wrote:
> 
>>
>> Is there any update with the JIRA below ?
>>
>>
>> JIRA [email protected] wrote:
>> >
>> > 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
>> >
>> >
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/-jira--Created%3A-%28GEOT-2382%29-User-Defined-Projection-tp2462353p2491967.html
>> Sent from the geotools-devel mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
> 
> 
> 
> -- 
> -------------------------------------------------------
> Eng. Daniele Romagnoli
> Software Engineer
> 
> GeoSolutions S.A.S.
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
> 
> phone: +39 0584983027
> fax:     +39 0584983027
> mob:   +39 328 0559267
> 
> 
> http://www.geo-solutions.it
> 
> -------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/-jira--Created%3A-%28GEOT-2382%29-User-Defined-Projection-tp2462353p2492360.html
Sent from the geotools-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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