<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>this is an error in the doc (now fixed). Just use:</p>
<p>gdal --format "format_name"<br>
</p>
<div class="moz-cite-prefix">Le 21/10/2025 à 18:28, Andrey VI via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:1761064110.728059287@f721.i.mail.ru">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Hi all.</div>
<div> </div>
<div>From <a
href="https://gdal.org/en/stable/programs/gdal_vector_sql.html#cmdoption-dialect"
moz-do-not-send="true">--dialect</a> section of ‘<span>gdal</span>
<span>vector</span> <span>sql</span>’ program documentation:</div>
<div>
<p>What SQL dialects a driver supports can be checked with "gdal
vector info".</p>
<p>Supported dialects can be checked with <span>gdal</span> <span>vector</span>
<span>info</span>. For example:</p>
<div>
<div>
<pre>$ gdal vector info --format "PostgreSQL"
Supported SQL dialects: NATIVE OGRSQL SQLITE
$ gdal vector info --format "ESRI Shapefile"
Supported SQL dialects: OGRSQL SQLITE
</pre>
</div>
</div>
</div>
<div><span lang="en"><span><span>But it doesn't seem to work:</span></span></span></div>
<div>
<div>
<div>$ gdal vector info --format "PostgreSQL"</div>
<div>ERROR 5: Invalid value 'PostgreSQL' for string argument
'output-format'. Should be one among 'json', 'text'.</div>
<div> </div>
<div>
<div>
<div>$ gdal vector info --format "ESRI Shapefile"</div>
<div>ERROR 5: Invalid value 'ESRI Shapefile' for string
argument 'output-format'. Should be one among 'json',
'text'.</div>
</div>
</div>
</div>
</div>
<div>--<br>
Andrey</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>