CRS2GeotiffMetadataAdapter duplicates some GeoKeys
--------------------------------------------------

                 Key: GEOT-2900
                 URL: http://jira.codehaus.org/browse/GEOT-2900
             Project: GeoTools
          Issue Type: Bug
          Components: core coverage, gc geotiff
    Affects Versions: 2.6.0, 2.5.8
            Reporter: Daniele Romagnoli
             Fix For: 2.7-M0


When working with a user-Defined Projected CRS, the CRS2GeotiffMetadataAdapter 
class adds duplicated Citation Key to the Geotiff GeoKeyDirectory (as an 
instance, several 3073 entries for PCSCitationGeoKey or 2049 for 
GeogCitationGeoKey). This is due to defining a Citation Key for each user 
defined object contained in the Projected Coordinate System (as an instance, 
projection, conversion, geographic datum and so on). 

However, taking a look on the geotiff specification, the GeogCitationGeoKey 
paragraph of section 2.7.2 states:
"GeogCitationGeoKey: General citation and reference for ALL Geographic CS 
parameters" which means that this value should be used to refer each Geographic 
CS parameter. Therefore it is unique and there is no need to define several of 
them. For a similar reason, the same thing should happen for the 
PCSCitationGeoKey key and other duplicated keys.


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

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to