[gdal-dev] Full Driver list for using in building from source

Tim Martin Tim.Martin at os.uk
Fri Jul 5 01:58:45 PDT 2019


Thanks Even

I am not opposed to having drivers enabled. I just wanted to make sure I had a list of ones that I could use to flick on and off during the build phase.

So I will use the list here - https://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers and the --disable-all-optional-drivers and customise as much as I need.

Cannot wait to use the COG driver in 3.1!!!

Thanks for your help




-----Original Message-----
From: Even Rouault <even.rouault at spatialys.com>
Sent: 05 July 2019 09:19
To: gdal-dev at lists.osgeo.org
Cc: Tim Martin <Tim.Martin at os.uk>
Subject: Re: [gdal-dev] Full Driver list for using in building from source

External Email: Take care with attachments & links.


On vendredi 5 juillet 2019 07:04:57 CEST Tim Martin wrote:
> Hi List
>
> Hopefully this is the right place to post this query and not as a
> GitHub issue. I also raised the question on GIS Stack Exchange but
> haven't got a correct answer.
>
> I am trying to create an AWS Lambda layer with GDAL with only a few
> drivers and so have been using the amazonlinx-gdal Dockerfile created
> by RemotePixel
> (https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit
> hub.com%2FRemotePixel%2Famazonlinux-gdal&data=02%7C01%7CTim.Martin
> %40os.uk%7C2c10f2cb11d3422abc3408d7012172c1%7C7988742dc5434b9a87a910a7
> b354d289%7C0%7C1%7C636979115486553317&sdata=X6qkUnVGyeR572MliR0jCo
> vPr4rY3fbDjAyjEAb2e%2Fs%3D&reserved=0) as a starting point and I
> then also saw in GDAL 3 that you can use
> --disable-all-optional-drivers which is brilliant. However when I run
> ogrinfo -formats the list still contains MapInfo and TopoJson which
> are not listed as the ones you cannot disable (generic geojson kml mem
> mitab vrt)

Yes there are a few drivers you can't disable because they are used by functions from the core, or utilities, etc. TopoJson remains because it is somewhat intermixed with the Geojson one which is required. It could certainly be cut off if you badly needed it, but would require makefile hand-editing.

Even

--
Spatialys - Geospatial professional services
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com&data=02%7C01%7CTim.Martin%40os.uk%7C2c10f2cb11d3422abc3408d7012172c1%7C7988742dc5434b9a87a910a7b354d289%7C0%7C1%7C636979115486563315&sdata=p9MyShgIucC47JEflfYO8Sf2NNcOdH9y6xZOzycuzWc%3D&reserved=0


This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey Limited (Company Registration number 09121572)
Registered Office: Explorer House
Adanac Drive
Southampton SO16 0AS
Tel: 03456 050505
http://www.os.uk


More information about the gdal-dev mailing list