WorldImageReader does not process all possible world files
----------------------------------------------------------

                 Key: GEOT-1275
                 URL: http://jira.codehaus.org/browse/GEOT-1275
             Project: GeoTools
          Issue Type: Bug
          Components: gc datasource
    Affects Versions: 2.4.M2, 2.3.1
            Reporter: Vit Ondruch
            Assignee: Simone Giannecchini


WorldImageReader does not process all possible world files. By the 
documentation http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.4, there 
was made some change in version 2.3.1, but WorldImageReader does not iterates 
the set: 

                        final Set 
ext=WorldImageFormat.getWorldExtension(extension);
                        final Iterator it=ext.iterator();
                        if(!it.hasNext())
                                throw new DataSourceException("Unable to parse 
extension "+extension);
                        file2Parse = new File(new 
StringBuffer(base).append((String)it.next()
                                        ).toString());

                        if (file2Parse.exists()) {
                        ...............

It takes just first extension.

-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to