[gdal-dev] Problem with BIL files and GDAL

Daniele Romagnoli daniele.romagnoli at geo-solutions.it
Wed Jul 30 03:20:09 PDT 2014


Hi,
could you run a gdalinfo on your origin file and provide us the output?
Wondering if its datatype is float and a straight gdal_translate (without
scaling applied) truncate all values when going to Byte PNG.

Cheers,
Daniele

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


On Wed, Jul 30, 2014 at 11:22 AM, Belén <beln1 at hotmail.com> wrote:

> Hello!
> My name is Belén and i'm trying to convert a .bil file (.bil and .hdr) to
> a .png using gdal_translate, it seems to work fine, there are no error
> messages but when I open the .png file, I only have a big completely black
> square.
> There's some special thing I should be doing? I'd appreciate any help,
> because I'm completely lost.
>
> Thank you very much in advance.
>
> Regards.
>
> Belén Muñoz.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140730/c71859e2/attachment.html>


More information about the gdal-dev mailing list