Hi
Indeed, I was able to spot the problem  with -stats: All values were 
converted to zero by gdal in a previous process. THanks to you all.
Best regards,
Antonio
Stephen V. Mather wrote:
> Even just running a gdalinfo -stats would help answer whether this was the
> issue.
>
> Stephen Mather
> Geographic Information Systems (GIS) Manager
> (216) 635-3243
> [email protected]
> clevelandmetroparks.com
>
>
>
>
>
> -----Original Message-----
> From: Rahkonen Jukka [mailto:[email protected]] 
> Sent: Thursday, October 06, 2011 2:36 PM
> To: António Rocha; Andrea Aime
> Cc: [email protected]
> Subject: Re: [Geoserver-users] Managing Geotiff files with three layers
>
> Hi,
>
> Satellite images are sometímes very dark. I would check the histogram of the
> image and see how it looks like. Perhaps you will need to apply LUT stretch
> for the image.  
>
> -Jukka Rahkonen-
>
> ________________________________________
> Lähettäjä: António Rocha [[email protected]]
> Lähetetty: 6. lokakuuta 2011 20:13
> Vastaanottaja: Andrea Aime
> Kopio: [email protected]
> Aihe: Re: [Geoserver-users] Managing Geotiff files with three layers
>
> Hello Andrea
> Here goes:
> Driver: GTiff/GeoTIFF
> Files: RGB-SPOT_August.tif
> Size is 30201, 30344
> Coordinate System is:
> PROJCS["unnamed",
>     GEOGCS[,
>         DATUM["unknown",
>             SPHEROID["unnamed",6378137,298.2572221010002]],
>         PRIMEM["Greenwich",0],
>         UNIT["degree",0.0174532925199433]],
>     PROJECTION["Transverse_Mercator"],
>     PARAMETER["latitude_of_origin",39.66825833333333],
>     PARAMETER["central_meridian",-8.133108333333332],
>     PARAMETER["scale_factor",1],
>     PARAMETER["false_easting",0],
>     PARAMETER["false_northing",0],
>     UNIT["metre",1,
>         AUTHORITY["EPSG","9001"]]]
> Origin = (-109786.366791263004416,-56278.403569938498549)
> Pixel Size = (2.501159457365760,-2.501159457365760)
> Metadata:
>   TIFFTAG_XRESOLUTION=1
>   TIFFTAG_YRESOLUTION=1
>   AREA_OR_POINT=Area
> Image Structure Metadata:
>   INTERLEAVE=PIXEL
> Corner Coordinates:
> Upper Left  ( -109786.367,  -56278.404) (  9d24'11.55"W, 39d 9'15.95"N)
> Lower Left  ( -109786.367, -132173.586) (  9d23'28.05"W, 38d28'15.35"N)
> Upper Right (  -34248.850,  -56278.404) (  8d31'45.73"W, 39d 9'38.44"N)
> Lower Right (  -34248.850, -132173.586) (  8d31'32.15"W, 38d28'37.30"N)
> Center      (  -72017.608,  -94225.995) (  8d57'44.37"W, 38d48'59.71"N)
> Band 1 Block=30201x1 Type=Byte, ColorInterp=Red
> Band 2 Block=30201x1 Type=Byte, ColorInterp=Green
> Band 3 Block=30201x1 Type=Byte, ColorInterp=Blue
>
> Any idea?
>
> Andrea Aime wrote:
>   
>> 2011/10/6 António Rocha <[email protected]>:
>>
>>     
>>> Greetings
>>> I have added to Store a three-band raster file (RGB). When I do the
>>> Publishing (Style: raster) and Preview (in OpenLayers) it's all black.
>>> What shall be the correct process to store and display 3-band Raster
>>> like this one.
>>>
>>>       
>> Normal RGB files just show up directly, no need for any manipulation.
>> I guess that 3 band does not have teh proper color interpretation flag
>> set on the bands?
>>
>> Can  you run gdalinfo against the file and report the output?
>>
>> Cheers
>> Andrea
>>
>>
>>     
>
>
> --
> António Rocha
>
> Aerospace & Defence Portugal
> DEIMOS Engenharia, SA
> Av. D. Joao II, Lt 1.17.01 - 10º, Ed. Torre Zen
> 1998-023 Lisboa, Portugal
> Ph:  +351 21 893 3010
> Fax: +351 21 896 9099
> http://www.deimos.pt
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 6522 (20111006) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> ----------------------------------------------------------------------------
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> ----------------------------------------------------------------------------
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature 
> database 6523 (20111006) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>   


-- 
António Rocha

Aerospace & Defence Portugal
DEIMOS Engenharia, SA
Av. D. Joao II, Lt 1.17.01 - 10º, Ed. Torre Zen
1998-023 Lisboa, Portugal
Ph:  +351 21 893 3010
Fax: +351 21 896 9099
http://www.deimos.pt 



__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 6523 (20111006) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to