GeoTiffReader does not correctly handle InputStream sources
-----------------------------------------------------------

                 Key: GEOT-3118
                 URL: http://jira.codehaus.org/browse/GEOT-3118
             Project: GeoTools
          Issue Type: Bug
          Components: gc geotiff
    Affects Versions: 2.6.4
         Environment: Linux 2.6.x, 64bit Java 1.6
            Reporter: Jan Torben Heuer


The GeoTiff reader cannot handle InputStreams. In the constructor, InputStreams 
are explicitly handled but at least for the GeoTiff I used, the reading fails.

Proposed solution: Directly throw a RuntimeException when the constructor is 
called with an InputStream. Add a comment to the javadoc why InputStream cannot 
be used.

Full discussion at: http://comments.gmane.org/gmane.comp.gis.geotools2.user/9500

Jan


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

        

------------------------------------------------------------------------------

_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to