Albrecht, On the code that I am working right now I can see that there is a BuildOverviews on the GDAL Java API:
"dataset.BuildOverviews(result, overviewlist, callback, callback_data)" So it should use the same logic as in: http://www.gdal.org/classGDALDataset.html#2aa6f88b3bbc840a5696236af11dde15 Best regards, Ivan > -------Original Message------- > From: [email protected] > Subject: [gdal-dev] using GDAL in a java-program > Sent: Jan 16 '09 16:20 > > Hi list, > i'm developing a tool which has to convert all tiff-files in a directory. > I'm doing it with java. The tool should create some overview images (image > pyramid) for the tiffs like we used to do manually with gdaladdo before. > Therefore i compiled the gdal 1.5.2 librarys with swig-support for java. > The result was a gdal.jar that i imported to my project. But because of > missing documentation (even no javadoc) i'm totally lost in using the > classes. I need the similar class.method which does the same like the > script driven gdaladdo. Example: > > gdaladdo -r average abc.tif 2 4 8 16 > Should be done by a java-class/method. Does anybody have a documentation, > example or even a hint for me? > Thanks > Albrecht > > -- > Albrecht Weiser, > E6, GIS Center > > Hessische Zentrale für Datenverarbeitung (HZD) > Mainzer Straße 29, 65185 Wiesbaden > Tel.: 0611 340-3113 > Fax: 0611 340-5113 > E-Mail: [email protected] > -------------------- > _______________________________________________ > gdal-dev mailing list > [LINK: [email protected]] [email protected] > [LINK: http://lists.osgeo.org/mailman/listinfo/gdal-dev] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
