[gdal-dev] Building with plugins...

Even Rouault even.rouault at spatialys.com
Mon Jun 12 10:44:49 PDT 2017


On lundi 12 juin 2017 08:04:08 CEST Carl Godkin wrote:
> Hi,
> 
> I am interested in building GDAL 2.2.0 with some of the available drivers
> as plugins.
> 
> 1. Is the procedure for building GDAL plugins documented anywhere for
> Linux?

I don't think so. Plugin building in Linux is more experimental/advanced.

> I see that there are several variables like XXX_PLUGIN listed in
> nmake.opt for Windows but I'd like to use plugins on Linux as well and
> can't see any relevant arguments for "configure" (except
> --enable-pdf-plugin).

There's also the GRASS plugin that has its own configure. And Debian/Ubuntu has a package 
with a configure to build the ECW (and MrSID I think) plugins. Otherwise except for the PDF 
plugin, you need to tweak yourself the makefile if you need a driver build as a plugin.

> 
> 2. Is there a list of which drivers can be built as plugins anywhere?  (I
> know that the GISInternals build provides about 10 drivers as plugins but
> the many commented-out drivers in nmake.opt leads me to believe that there
> could be even more than that.

Well, basically the list in nmake.opt should be pretty much what is available:

$ grep _PLUGIN nmake.opt | grep "#"
#ECW_PLUGIN = YES
#JP2LURA_PLUGIN = YES
#TD_PLUGIN = YES
#HDF4_PLUGIN = NO
#HDF5_PLUGIN = NO
#KEA_PLUGIN = NO
# INGRES_PLUGIN = YES
#FITS_PLUGIN = NO
#NETCDF_PLUGIN = NO
#OCI_PLUGIN = YES
#SDE_PLUGIN = NO
#FGDB_PLUGIN = YES
#AMIGOCLOUD_PLUGIN = YES
#ARCOBJECTS_PLUGIN = YES
#SOSI_PLUGIN = YES
#PDF_PLUGIN = NO
#MONGODB_PLUGIN = NO
# MONGODB_PLUGIN = YES


> 
> Thanks very much,
> 
> carl


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170612/68e978e5/attachment-0001.html>


More information about the gdal-dev mailing list