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 <[email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
