[GRASSLIST:1569] Re: r.in.gdal and a GeoTIFF

Andrey Kiselev dron at ak4719.spb.edu
Mon Oct 27 11:08:17 EST 2003


On Mon, Oct 27, 2003 at 09:20:55AM -0600, Ed Davison wrote:
> > > I have downloaded and installed the cvs version and here is what I get
> > > now:
> > > 
> > > GRASS:~/gis/data/nationalatlas/shdrlf > !gdali
> > > gdalinfo --version
> > > GDAL 1.1.9.0, released 2003/06/27
> > > GRASS:~/gis/data/nationalatlas/shdrlf > !gdalw
> > > gdalwarp -t_srs '+init=epsg:4326'  shdrlfi020l.tif
> > > shdrlfi020l_LL_wgs84.tif
> > > ERROR 1: latitude or longitude exceeded limits
> > > ERROR 1: GDALWarperOperation::ComputeSourceWindow() failed because
> > > the pfnTransformer failed.
> > 
> > Again: Are you using an official release or the CVS version of,
> > say, this week? The CVS-gdalwarp works well. But I ran into confusion
> > comparing the map included metadata (GeoTIFF) and the related
> > official map description which states another ellipsoid/map datum.
> > However, this is another issue (see other mail).
> > 
> 
> Yes, was using CVS.  I followed the directions on the CVS website to get
> the CVS checkout done.
> 
> But, it turns out there is another problem here which I probably need to
> file as a bug.  I actually tracked this one down.  This error message is
> produced when the output/target .tif file already exists.  It should
> give an error message that the target/output file already exists.  When
> I deleted the target/output file, all worked fine and produced a proper
> output file.

Ed,

It is not a bug, but the feature. If you already have output file when
invoking gdalwarp, input scene will be warped into those file using its
projection and extent. You can produce simple mosaic using this method.

					Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517




More information about the grass-user mailing list