[GRASS-user] Landsat image tiffs

Zenon Panoussis oracle at provocation.net
Sat Aug 19 00:54:11 EDT 2006


Dylan Beaudette wrote:

>> That's it. mapserver is happy, debug shows no errors, there's only
>> one little problem: the image doesn't show on the map. 

> # re-create geotiffs with gdal_translate (fix bug in tiffs created with 
> r.out.tiff)
> for x in `ls *.tif`; do gdal_translate -a_srs '+proj=aea +x_0=0.0 +y_0=0.0 
> +lon_0=-96.0 +lat_0=40.0 +lat_1=20.0 +lat_2=60.0 +datum=NAD83' $x ../new/$x ; 
> done 

gdal_translate -a_srs '+proj=utm +zone=18 +datum=WGS84' \
      -a_ullr 243354.375 -1176415.875 464713.875 -1382470.875 \
      bad.tif good.tif
fixed my r.out.tiff tile, but unfortunately that didn't fix the problem.
Also, I noticed later that the tiffs made with r.out.gdal did have
projection data, but mapserver doesn't show them either. I'll take
it to the mapserver mailing list, it probably belongs better there.

Z





More information about the grass-user mailing list