Hi,

this is an error in the doc (now fixed).  Just use:

gdal --format "format_name"

Le 21/10/2025 à 18:28, Andrey VI via gdal-dev a écrit :
Hi all.
From --dialect <https://gdal.org/en/stable/programs/gdal_vector_sql.html#cmdoption-dialect> section of ‘gdal vector sql’ program documentation:

What SQL dialects a driver supports can be checked with "gdal vector info".

Supported dialects can be checked with gdal vector info. For example:

$ gdal vector info --format "PostgreSQL"
Supported SQL dialects: NATIVE OGRSQL SQLITE

$ gdal vector info --format "ESRI Shapefile"
Supported SQL dialects: OGRSQL SQLITE
But it doesn't seem to work:
$ gdal vector info --format "PostgreSQL"
ERROR 5: Invalid value 'PostgreSQL' for string argument 'output-format'. Should be one among 'json', 'text'.
$ gdal vector info --format "ESRI Shapefile"
ERROR 5: Invalid value 'ESRI Shapefile' for string argument 'output-format'. Should be one among 'json', 'text'.
--
Andrey

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to