GDAL introduces the geometry function OGR_G_BufferEx(OGRGeometryH, double dfDist, CSLConstList papszOptions) in version 3.10. The options are encoded as a list of key value pairs (key=value)
- ENDCAP_STYLE=ROUND/FLAT/SQUARE
- JOIN_STYLE=ROUND/MITRE/BEVEL
- MITRE_LIMIT=double
- QUADRANT_SEGMENTS=integer
- SINGLE_SIDED=YES/NO as a string list in the C or C++ language context.
Question: Is there a description for the corresponding SQL syntax for the tool ogr2ogr in the SQLite dialect for the extended attributes (JOIN_STYLE, END_CAP)?
NOTE: I have noticed the gdal vector pipeline which is available since version 3.11. The command gdal vector buffer ... addresses the "extended" options
- --endcap-style STYLES=round|flat|square (default: round)
- --join-style STYLES=round|mitre|bevel (default: round)
- --mitre-limit
etc. directly. But for the gdal vector sql ... calling context, no information is provided for the extended buffer context too.

-dialect SQLitetriggers a creation of a temporary SQLite database, and prelude statements are not applied to that. The "with" trick may work. I am curious to see an example, or maybe I will try myself.SELECT ogr_layer_Extent('poly') ...). The documentation is not comlete with regard to the geometric functions.