[GRASS-user] Landsat image tiffs

Dylan Beaudette dylan.beaudette at gmail.com
Sat Aug 19 14:27:09 EDT 2006


On Friday 18 August 2006 21:54, Zenon Panoussis wrote:
> 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

Hmm. This is very strange- do your output images work in any GIS data viewer, 
QGIS ?

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-user mailing list