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

2014-03-16 Thread Piero Campalani
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?

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

thanks,
Piero

http://www.gdal.org/formats_list.html
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

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

2014-03-16 Thread Even Rouault
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
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev