[Qgis-user] recompiling gdal: problems with QGIS?
Agustin Lobo
aloboaleu at gmail.com
Sun Oct 19 04:35:57 PDT 2008
Craig, this works and I actually
had fwtools with gdal2-0-6, but QGIS
is seeing an older version but with its binaries
in /usr/bin:
$ which gdalinfo
/usr/bin/gdalinfo
$ gdalinfo --version
GDAL 1.5.1, released 2008/03/14
perhaps because this is what is available at ubuntu repositories.
For the future, if the user is installing a QGIS binary (i.e., ubuntu
using Synaptic), is there any way to tell QGIS to use the gdal version
included in FWTools? And/or would just copying the appropriate gdal*
programs from the fwtools bin_safe directory to the /usr/bin directory work?
Thanks
Agus
Craig Leat wrote:
> Hi Agustin
>
> Agustin wrote:
>> Therefore, I understand I should not try to make the current QGIS I have
>> work with a new compiled gdal.
>
> Yes. gdal is a dependency, so if you change it you need to recompile
> everything that depends on it.
>
>> BUt could I have a second version of gdal
>> which I would use for converting ECW and MrSid files to formats that
>> QGIS can accept?
>
> Yes you can have multiple versions of gdal, just head my earlier
> warning if you ever decide to build qgis. You could try the FWTools
> [1] binary as this offers the formats [2] you need.
>
> Craig
>
> [1] http://fwtools.maptools.org/
> [2] $ ./gdalinfo --version
> GDAL 1.5dev, FWTools 2.0.0, released 2007/11/12
> $ ./gdalinfo --formats | grep -i "ecw"
> ECW (rw): ERMapper Compressed Wavelets
> JP2ECW (rw+): ERMapper JPEG2000
> $ ./gdalinfo --formats | grep -i "mrsid"
> MrSID (ro): Multi-resolution Seamless Image Database (MrSID)
>
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
More information about the Qgis-user
mailing list