[gdal-dev] Vector only GDAL build?

Kurt Schwehr schwehr at gmail.com
Thu Aug 3 14:31:12 PDT 2017


What Even said or alternatives:

#if 1
int ThingIDoNotWant() { return 0; }
#else
int ThingIDoNotWant() {
 normal body
}
#endif

Or place an abort(); call in any place where you absolutely don't want to
go but can't easily get rid of.  Better to have a program go down than to
run something you don't want.  Works well if there is someplace bad buried
inside complicated logic.

On Thu, Aug 3, 2017 at 2:25 PM, Even Rouault <even.rouault at spatialys.com>
wrote:

> On jeudi 3 août 2017 21:16:30 CEST Jim Walseth wrote:
>
> > Does anyone have experience or information about building GDAL without
>
> > LibTIFF?
>
> >
>
> > We are using GDAL only for vector data conversions, yet are faced with
>
> > updating GDAL a second time due to reported security vulnerabilities in
>
> > libTIFF.
>
>
>
> You could more simply exclude the GTiff driver at runtime by definining
> the environment variable / configuration option GDAL_SKIP to GTIFF
>
>
>
> Or just remove / comment the GDALRegister_GTiff() line in
> frmts/gdalallregister.cpp when rebuilding GDAL
>
>
>
> Even
>
>
>
> --
>
> Spatialys - Geospatial professional services
>
> http://www.spatialys.com
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
--
http://schwehr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170803/d72f0ba1/attachment.html>


More information about the gdal-dev mailing list