<div dir="ltr">Hi all,<div><br></div><div>in the documentation [1] is mentioned:</div><div><br></div><div>"""</div><div>Buffer(Geometry self, double distance, char ** options)→ Geometry<br></div><div>"""</div><div><br></div><div>where the options argument points to [2]. But</div><div><br></div><div>"""</div><div>geom.Buffer(6, options=["JOIN_STYLE=MITRE"])<br></div><div>"""</div><div><br></div><div>fails with</div><div><br></div><div>"""</div><div>  File "/usr/lib/python3.11/site-packages/osgeo/ogr.py", line 6350, in Buffer<br>    return _ogr.Geometry_Buffer(self, *args, **kwargs)<br>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>TypeError: 'options' is an invalid keyword argument for Geometry_Buffer()</div><div>"""<br></div><div><br></div><div>So is there any possibility to use OGR_G_BufferEx's options in the Python API?</div><div><br></div><div>Thanks a lot for your help, Martin</div><div><br></div><div>[1] <a href="https://gdal.org/en/latest/api/python/vector_api.html#osgeo.ogr.Geometry">https://gdal.org/en/latest/api/python/vector_api.html#osgeo.ogr.Geometry</a></div><div>[2] <a href="https://gdal.org/en/latest/api/vector_c_api.html#_CPPv414OGR_G_BufferEx12OGRGeometryHd12CSLConstList">https://gdal.org/en/latest/api/vector_c_api.html#_CPPv414OGR_G_BufferEx12OGRGeometryHd12CSLConstList</a><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Martin Landa<div><a href="https://geomatics.fsv.cvut.cz/en/employees/martin-landa/" target="_blank">https://geomatics.fsv.cvut.cz/en/employees/martin-landa/</a><br><a href="http://gismentors.cz/mentors/landa" target="_blank">http://gismentors.cz/mentors/landa</a></div></div></div></div></div>