Re: [gdal-dev] using GDAL in a java-program

Lucena, Ivan ivan.lucena at pmldnet.com
Fri Jan 16 12:05:59 EST 2009


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: Albrecht.Weiser at hzd.hessen.de
>  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: albrecht.weiser at hzd.hessen.de
>  --------------------
>  _______________________________________________
>  gdal-dev mailing list
>  [LINK: compose.php?to=gdal-dev at lists.osgeo.org] gdal-dev at lists.osgeo.org
>  [LINK: http://lists.osgeo.org/mailman/listinfo/gdal-dev]
>  http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list