[gdal-dev] Checking supported SQL dialects
Even Rouault
even.rouault at spatialys.com
Tue Oct 21 09:38:15 PDT 2025
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
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251021/7ff6675f/attachment.htm>
More information about the gdal-dev
mailing list