[gdal-dev] Gdalinfo.exe is magic, why not bindings ?

Florent JITIAUX fjitiaux at gmail.com
Sun Nov 27 06:38:02 EST 2011


2011/11/27 Even Rouault <even.rouault at mines-paris.org>

>
> Hum, when I say *exact*, I really mean *exact* ... And what is interesting
> is
> the first error emitted by the SRP driver, not the last one in higher
> layers.
>
> I don't remember all errors but the the first two errors from gdalinfo are
wrong value G and wrong value E. Names of my files are ok but i didn't
check if names was correctly put as data into files. I will get errors
tomorrow.

>

> >
> > As you say Ari, read files with errors is not a good thing. But the
> > question for the programmer (like me) is : don't read a map if there is
> > just a litlle error in one file or read a map even if there is an error
> but
> > the raster and data like width, height and georeferencing are readable.
> > In my case i have to read these maps. And i'd preffered to load it in the
> > dataset java class than get informations with the gdalinfo.exe and build
> a
> > vrt with Gdalbuildvrt.exe
>
> Yes if the file is visually OK (is it the case here ?), then errors should
> probably reclassified as warnings.
>

The visual is ok with Qgis. And it works perfectly when i build a vrt file
with Gdalbuildvrt from my *.img and make tiles with Gdal_translate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111127/45eb6c8c/attachment.html


More information about the gdal-dev mailing list