Hi Daniele,
Thank you for your answer.
This is the output of gdalinfo:
Driver: EHdr/ESRI .hdr Labelled
Files: prueba.bil
prueba.hdr
Size is 4000, 4000
Coordinate System is `'
Origin = (504815.000000000000000,4766395.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Corner Coordinates:
Upper Left ( 504815.000, 4766395.000)
Lower Left ( 504815.000, 4726395.000)
Upper Right ( 544815.000, 4766395.000)
Lower Right ( 544815.000, 4726395.000)
Center ( 524815.000, 4746395.000)
Band 1 Block=4000x1 Type=UInt16, ColorInterp=Undefined
Thank you again!!
Regards.
Belén Muñoz.
From: [email protected]
Date: Wed, 30 Jul 2014 12:20:09 +0200
Subject: Re: [gdal-dev] Problem with BIL files and GDAL
To: [email protected]
CC: [email protected]
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