[Schmitzm-commits] r362 - branches/1.0-gt2-2.6/src/schmitzm/geotools/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 31 20:22:21 CEST 2009


Author: mojays
Date: 2009-08-31 20:22:21 +0200 (Mon, 31 Aug 2009)
New Revision: 362

Modified:
   branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java
Log:
gt2-2.6.x conversion

Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java	2009-08-31 18:21:17 UTC (rev 361)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/io/GeoImportUtil.java	2009-08-31 18:22:21 UTC (rev 362)
@@ -51,8 +51,11 @@
 import javax.imageio.ImageIO;
 
 import org.apache.log4j.Logger;
+import org.geotools.coverage.CoverageFactoryFinder;
+import org.geotools.coverage.GridSampleDimension;
 import org.geotools.coverage.grid.GridCoverage2D;
 import org.geotools.coverage.grid.GridCoverageFactory;
+import org.geotools.coverage.grid.GridGeometry2D;
 import org.geotools.coverage.grid.io.AbstractGridCoverage2DReader;
 import org.geotools.data.DataStore;
 import org.geotools.data.shapefile.ShapefileDataStore;
@@ -69,6 +72,8 @@
 import org.geotools.geometry.Envelope2D;
 import org.geotools.referencing.CRS;
 import org.geotools.referencing.crs.DefaultGeographicCRS;
+import org.opengis.coverage.grid.GridCoverage;
+import org.opengis.parameter.GeneralParameterValue;
 import org.opengis.referencing.crs.CoordinateReferenceSystem;
 
 import schmitzm.data.WritableGridRaster;
@@ -582,9 +587,9 @@
 		if (crs != null) {
 			hints.put(Hints.DEFAULT_COORDINATE_REFERENCE_SYSTEM, crs);
 		}
-		
 		ArcGridReader reader = new ArcGridReader(input ,hints);
 		GridCoverage2D gc = (GridCoverage2D) reader.read(null);
+		
 		return gc;
 	}
 	



More information about the Schmitzm-commits mailing list