[ 
http://jira.codehaus.org/browse/GEOT-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriel Roldán reopened GEOT-1792:
----------------------------------


reopening to mark it fixed as per RC0

> ArcGridReader can't read ArcGrid ASCII file without file extension
> ------------------------------------------------------------------
>
>                 Key: GEOT-1792
>                 URL: http://jira.codehaus.org/browse/GEOT-1792
>             Project: GeoTools
>          Issue Type: Bug
>          Components: gc arcgrid
>    Affects Versions: 2.4.2, 2.4.3, 2.5-M0, 2.5-M1, 2.5.0
>         Environment: Windows XP
>            Reporter: Jong Lee
>            Assignee: Daniele Romagnoli
>            Priority: Minor
>             Fix For: 2.4.3, 2.5-M3, 2.5.0
>
>
> ArcGridReader can't read ArcGrid ASCII file without file extension (for 
> example, "raster").  ArcGridReader should be able to handle the file without 
> extension.   It is caused at line 691, ArcGridReader.java
>    final int index = sourceAsString.lastIndexOf(".");
> The IF statement is needed to handle the file without extension. For example:
> int index = sourceAsString.lastIndexOf(".");
> if (index == -1 ) index = sourceAsString.length();

-- 
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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to