[gdal-dev] Non-default drivers from packaged installation

Even Rouault even.rouault at mines-paris.org
Sun Mar 16 05:17:34 PDT 2014


Le dimanche 16 mars 2014 12:50:39, Piero Campalani a écrit :
> Hi list,
> 
> my question is whether the drivers which are /not/ compiled by default in
> GDAL (because they depend on some other library) are checked at run time.
> I guess no.
> 
> I am installing gdal-bin from APT, so if I need to enable a driver
> (JP2OpenJPEG in my case) that is not shipped in my precompiled version, I
> need to install GDAL from source.
> 
> Is that right?

Yes

> 
> Indeed I installed openjpeg v2, but then the JP2OpenJPEG driver is not
> listed (--formats).

Yes, you need to compile from source. There's no magic. If at built time of 
the Debian GDAL binary, the openjpeg v2 headers and libraries were not 
available, GDAL will not recompile itself automagically when they are 
available ;-)

> 
> thanks,
> Piero
> 
> http://www.gdal.org/formats_list.html

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list