[gdal-dev] ogrinfo behaviour with -al and -json options

Andrea Giudiceandrea andreaerdna at libero.it
Tue Jul 2 22:25:16 PDT 2024


Hi all,
IIUC, the documentation states that with the -al option, ogrinfo should 
output the info of all layers in a container (e.g. a GPKG file). Anyway, 
when a layer name is provided in the command line string alongside the 
-al option, than it looks like the -al option is overridden and not 
taken in consideration.

Is this the expected behaviour?

The same behaviour occurs with the -json option, where the documentation 
states than in such case the -al option is also implicit.

If those are the correct and expected behaviour, maybe it would be 
useful to clarify it in the documentation.

Regards.

Andrea


More information about the gdal-dev mailing list