WorldFileWriter doesn't properly work. Wrong output file checks and missing 
AffineTransform2D management.
---------------------------------------------------------------------------------------------------------

                 Key: GEOT-2342
                 URL: http://jira.codehaus.org/browse/GEOT-2342
             Project: GeoTools
          Issue Type: Bug
          Components: core main
    Affects Versions: 2.5.3
            Reporter: Daniele Romagnoli
            Assignee: Daniele Romagnoli
             Fix For: 2.5.4


WorldFileWriter does wrong checks on the output file argument (The file which 
will contain the transformation coefficients).
It throws an IllegalArgumentException in case the output file cannot be read or 
is not a file.
However, being the output file, the file to be written, these checks don't make 
sense.

Moreover, it only handles MathTransform as IdentityTransform and 
org.geotools.referencing.operation.matrix.AffineTransform2D whilst also 
org.geotools.referencing.operation.transform.AffineTransform2D should be 
supported.

I'm going to fix it. (WorldFileWriter is actually imported nowhere). 






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

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to