Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.3.1, 2.4-M2
-
Component/s: image plugin
-
Labels:None
Description
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.