Revision 829 trunk/libraries/libjni-gdal/src-test/example.java

View differences:

example.java
35 35
//Opening the file ----------------------------
36 36

  
37 37
import es.gva.cit.jgdal.*;
38

  
38 39
import java.io.*;
39 40

  
40 41
public class example{
......
187 188
//End Reading Raster Data ----------------------------		  	
188 189
		  	
189 190
	  		/*try{
190
	  			s.write(buf);
191
	  			if(tipo==Gdal.GDT_Byte)s.write(buf.buffByte);
191 192
	  		}catch(IOException e){
192 193
	  			System.out.println("Error writing a line in the file\n");	
193 194
	  			System.exit(1);

Also available in: Unified diff