[Gdal-dev] Another gdal_translate problem (fwd)
Curt, WE7U
archer at eskimo.com
Fri Mar 10 16:01:52 EST 2006
Forwarding this to the list so that people will know that the
problem was solved. Might help someone else with the same sorts of
problems.
---------- Forwarded message ----------
Date: Fri, 10 Mar 2006 12:35:31 -0800 (PST)
From: "Curt, WE7U" <archer at eskimo.com>
To: Frank Warmerdam <warmerdam at pobox.com>
Cc: "Curt Mills, WE7U" <archer at eskimo.com>
Subject: Re: [Gdal-dev] Another gdal_translate problem
On Fri, 10 Mar 2006, Frank Warmerdam wrote:
> Sorry, I'm not too sure how to address this though I haven't really gone
> through all the cases you reported in detail. Did you try not using
> the internal libgeotiff so the GTIFProj4ToLatLong only exists in one place?
> I think I'm talking you in circles.
>
> I *think* you may need the most recently available libtiff, and libgeotiff
> built and installed (and all others stripped away), and then GDAL built to
> use those.
>
> The original problem you reported sounded like one fixed in libtiff something
> like a year ago - so you would likely need libtiff 3.8.0.
Once again, you're right. I kind'a cheated this time 'cuz I
couldn't get a 3.8.0 RPM that would load on this system, and
couldn't just remove the 3.7.3 version because darned-near
everything depends on that lib.
I snagged the sources and compiled them to the standard place
(/usr/local). I ran gdal_translate and it worked this time. Ran
ldd against gdal_translate and it is using the /usr/local copy of
libtiff in preference to the RPM-installed older version. Hopefully
it preferred the include files from the newer version as well.
Xastir is now compiled with shapelib/proj/libgeotiff/libgdal
support, and it is displaying UTM-coordinate DOQQ's just fine now.
> ldd /usr/local/bin/xastir | grep -i tiff
libtiff.so.3 => /usr/local/lib/libtiff.so.3 (0x409d2000)
libgeotiff.so => /usr/local/lib/libgeotiff.so (0x40c6a000)
So it is using the new libtiff as well.
Thanks for your help! I'll add the libtiff-3.8.0 dependency to our
docs in the GDAL section.
--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Gdal-dev
mailing list