Revision 2849 trunk/libraries/libCq CMS for java.old/src/org/cresques/io/GdalWriter.java

View differences:

GdalWriter.java
54 54
 */
55 55
public class GdalWriter extends GeoRasterWriter {
56 56
    static {
57
        GeoRasterWriter.registerWriterExtension("tif", EcwWriter.class);
57
        GeoRasterWriter.registerWriterExtension("tif", GdalWriter.class);
58 58
    }
59 59

  
60 60
    public final int windowSizeX = 386;
......
282 282
            }
283 283

  
284 284
        if (okdrvtype == false) {
285
            throw new GdalException("El tipo de driver no est? soportado por GdalWriter.");
285
            throw new GdalException("El tipo de driver "+drvType+" no est? soportado por GdalWriter.");
286 286
        }
287 287

  
288 288
        //Obtenemos el driver y creamos el dataset del destino
289
        
289 290
        drv = Gdal.getDriverByName(drvType);
290 291

  
291 292
        //System.out.println("++++++>"+params.length);

Also available in: Unified diff