[Gdal-dev] Anything changed on reading Geo-Information from G
eoTiff?
Winkler, Roland
RWinkler at DEFiNiENS.com
Tue Nov 18 12:04:08 EST 2003
I just tested my .tfw with an arbitrary tif image and
I still have the described problems. I don't believe that I have
something in my environment, because three people experienced the
problem on there machines before I got aware of this.
I'm working with MS Visual C++ 6.0 on XP and but this
shouldn't be a problem. Maybe it's the build. I took a
csv snapshot some time ago.
I will debug into gdal/gcore/gdal_misc.cpp tomorrow
and have a closer look.
regards
Roland
> -----Original Message-----
> From: Frank Warmerdam [mailto:warmerdam at pobox.com]
> Sent: Dienstag, 18. November 2003 17:39
> To: gdal-dev at remotesensing.org
> Subject: Re: [Gdal-dev] Anything changed on reading
> Geo-Information from G eoTiff?
>
>
> Winkler, Roland wrote:
> > I attched the output of gdalinfo and also the .tfw file of
> the tiff.
> > Unfortunately I don't know the "listgeo"-tool.
> >
> > I could also provide the image, but it's 75MB after
> compressing still
> > 20MB, pretty to much for putting it into bugzilla. After creating a
> > subset with erdas or even with the older gdal version this
> problem is
> > vanished.
> >
> > If you are still interested in the image I could put it on our
> > ftp-server or burn it on a CD and send this CD via mail.
>
> Roland,
>
> That's pretty funky. The x offset sign in your gdalinfo
> output does indeed seem to be wrong for no apparent reason.
> I created a simple little tiff file and tried it with your
> .tfw file and gdalinfo and I got correct (negative x offset)
> output, so the problem would appear to be related to either
> your specific version of GDAL (that is CVS "head" seems
> fine), or something in your environment (I tested on Linux
> with the default "C" lang environment).
>
> If you are able to debug into your build of GDAL try stepping into
> GDALReadWorldFile() (in gdal/gcore/gdal_misc.cpp) and see
> what is going wrong. It is as if the atof() there is going
> wrong, or perhaps for some reason the
> CSLLoad() is cutting off a character in the x offset line.
>
> Best regards,
>
> --
> ---------------------------------------+----------------------
> ----------
> ---------------------------------------+------
> I set the clouds in motion - turn up | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial
> Programmer for Rent
>
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal> -dev
>
More information about the Gdal-dev
mailing list