Morning Perro - I usually try to help on the [email protected] list ... because I do not know anything about arcgrid (and I hope someone there will). I would start by looking at one of the test cases for arcgrid and doing what they do.
I seem to recall that arcgrid files can be in a binary or ascii format - and there is a parameter to choose between the two. Jody Can I ask [EMAIL PROTECTED] wrote: > Hi, Jody. I hope you have time enough to help me with this problem. I've > been trying to load an esri ascii raster with the following statement: > > ArcGridReader agr = new ArcGridReader(arcURL); > > where arcURL is an instance of the class URL. When I compile the program > there's no problem. But when I try to run it, the exception > java.lang.ExceptionInInitializerError is thrown when I try to instantiate the > ArcGridReader object. I'm using GeoTools v2.3, JAI v1.1.3, and JAI Image-IO > v1.1 in Windows. I try also the following line: > > GridCoverage2D grid = (GridCoverage2D)format.getReader(input).read(null); > > where format is an object of the class ArcGridFormat and input is a File, and > got the same exception. > > Any help will be apreciated a lot. > > Best regards. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
