Le mercredi 26 septembre 2012 07:44:57, Ivan Lucena a écrit :
> Hi there,
> 
> Is there any particular reason why that this code in Java results nulls
> 
> Driver driver = gdal.GetDriver(1);
> String a = driver.GetMetadataItem(gdalconstConstants.DCAP_CREATE);
> String b = driver.GetMetadataItem(gdalconstConstants.DCAP_CREATECOPY);
> System.out.println(a + " - " + b);
> 
> null - null

Fixed by http://trac.osgeo.org/gdal/ticket/4828

The issue was that the gdalconstConstants.DCAP_CREATE constant expanded to 
"GDAL_DCAP_CREATE" instead of "DCAP_CREATE".
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to