From: Pablo V. <p4v...@ya...> - 2007-02-12 10:19:17
|
Hi all. Why I can not use this code with geo-tools 2.3.0.? File file = new File("c:/pablo/java/spearfish_dem.asc.gz"); ArcGridReader agr = new ArcGridReader(file); GridCoverage2D gc2 = (GridCoverage2D)agr.read(null); I got the next message: 12-feb-2007 11:14:44 org.geotools.gce.arcgrid.ArcGridReader getCoordinateReferenceSystem INFO: crs not found proceeding with EPSG:4326 Exception in thread "main" java.lang.IllegalArgumentException: ImageRead: No OperationDescriptor is registered in the current operation registry under this name. at javax.media.jai.JAI.createNS(JAI.java:1070) at javax.media.jai.JAI.create(JAI.java:973) at org.geotools.gce.arcgrid.ArcGridReader.createCoverage(ArcGridReader.java:502) at org.geotools.gce.arcgrid.ArcGridReader.read(ArcGridReader.java:418) at fish.ReadArcview.getFile(ReadArcview.java:55) at fish.ReadArcview.main(ReadArcview.java:99) Thanks a lot. Pablo. --------------------------------- Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! |