Test ArcGrid with GridFormatFinder
----------------------------------
Key: GEOT-3575
URL: http://jira.codehaus.org/browse/GEOT-3575
Project: GeoTools
Issue Type: Bug
Components: gc arcgrid
Reporter: Jody Garnett
Assignee: Simone Giannecchini
In writing a test of GridFormatFinder for arcgrid I was surprised to find some
test data in gt-main:
* org.geotools.data.coverage.grid.file.test
* org.geotools.data.coverage.grid.stream.test/test-data/ArcGrid.asc
* org.geotools.data.coverage.grid.test/test-data/ArcGrid.asc
* org.geotools.data.coverage.grid.test/test-data/Copy of ArcGrid.asc
Could these be removed?
The test case I added is here:
public void testFormatFinder() throws Exception {
// get a gzipped ascii grid
final File f = TestData.file(this, "ArcGrid.asc");
// Reading the coverage through a file
AbstractGridFormat format = GridFormatFinder.findFormat( f );
AbstractGridCoverage2DReader reader = format.getReader(f);
GridCoverage2D gc = reader.read(null);
assertNotNull( gc );
}
--
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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel