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!
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to