[Gdal-dev] Problem for build overviews
mbaye
mbaye1234 at yahoo.fr
Tue Jan 9 05:02:40 EST 2007
I have problem ito build overviews in vs2003 with gdal-1.4.0
when i do this
GDAL.gdal.AllRegister();
GDAL.Dataset ds = GDAL.gdal.Open("jp2.jpg", GDAL.gdalconst.GA_ReadOnly);
Console.Out.WriteLine("Nombre de bandes avant creation doverviews :
"+ds.RasterCount);
ds.BuildOverviews("MODE",2);
Console.Out.WriteLine("Nombre de bandes avant creation doverviews :
"+ds.RasterCount);
int over=ds.GetRasterBand(1).GetOverviewCount();
Console.Out.WriteLine("Le nombre d overviews : "+over)
I have this error
Une exception non gérée du type 'System.ApplicationException' s'est produite
dans gdal_gdal_csharp.dll
Informations supplémentaires : The JPEG driver does not support update
access to existing datasets.
Thanks for help me
--
View this message in context: http://www.nabble.com/Problem-for-build-overviews-tf2944831.html#a8234819
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the Gdal-dev
mailing list