[Schmitzm-commits] r1369 - trunk/src/schmitzm/geotools/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Jan 16 13:34:57 CET 2011


Author: alfonx
Date: 2011-01-16 13:34:56 +0100 (Sun, 16 Jan 2011)
New Revision: 1369

Modified:
   trunk/src/schmitzm/geotools/io/GeoImportUtil.java
Log:
SingleRuleList mixed getTitle and getRuleTitle in GUI. 

Modified: trunk/src/schmitzm/geotools/io/GeoImportUtil.java
===================================================================
--- trunk/src/schmitzm/geotools/io/GeoImportUtil.java	2011-01-14 14:08:46 UTC (rev 1368)
+++ trunk/src/schmitzm/geotools/io/GeoImportUtil.java	2011-01-16 12:34:56 UTC (rev 1369)
@@ -80,6 +80,7 @@
 import org.geotools.gce.image.WorldImageReader;
 import org.geotools.geometry.Envelope2D;
 import org.geotools.referencing.crs.DefaultGeographicCRS;
+import org.jfree.util.Log;
 import org.opengis.feature.simple.SimpleFeature;
 import org.opengis.feature.simple.SimpleFeatureType;
 import org.opengis.parameter.GeneralParameterValue;
@@ -803,6 +804,8 @@
 		try {
 			return readGridFromGeoTiff(file, null);
 		} catch (DataSourceException dse) {
+			Log.warn("Failed trying to import " + file + " with RasterReader",
+					dse);
 			return readGridFromGeoTiff(file, getDefaultCRS());
 		}
 	}



More information about the Schmitzm-commits mailing list