Log Message: |
if reading a geotiff withour CRS fails, try with defautl CRS
* @see #readGridFromGeoTiff(File, CoordinateReferenceSystem)
*/
public static GridCoverage2D readGridFromGeoTiff(File file)
throws Exception {
try {
return readGridFromGeoTiff(file, null);
} catch (DataSourceException dse) {
return readGridFromGeoTiff(file, getDefaultCRS());
}
}
|