<div dir="ltr"><div>Hi Jukka,</div><div>You are right, excuses. My question was a bit rhetorical, though.</div><div>Will you please answer the 2nd question too?</div><div>I get the impression that there is no intention yet to convert curves to DXF arcs.</div><div>I hope you change your mind, you can look to QGis to see some details, I believe.</div><div>Jan</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, May 7, 2025 at 1:56 PM Rahkonen Jukka <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
By reading <a href="https://gdal.org/en/stable/drivers/vector/dxf.html" rel="noreferrer" target="_blank">https://gdal.org/en/stable/drivers/vector/dxf.html</a> this feels clear and expected:<br>
<br>
"CIRCLE, ELLIPSE, ARC, SPLINE,HELIX: Translated as a LINESTRING, tessellating the curve into line segments"<br>
and<br>
"The OGR_ARC_STEPSIZE and OGR_ARC_MAX_GAP configurations options control the approximation of arcs, ellipses, circles and rounded polylines as linestrings"<br>
<br>
I fear that all you have overlooked was the documentation.<br>
<br>
-Jukka Rahkonen-<br>
<br>
________________________________________<br>
Lähettäjä: gdal-dev käyttäjän Jan Heckman via gdal-dev puolesta<br>
Lähetetty: Keskiviikko 7. toukokuuta 2025 14.47<br>
Vastaanottaja: gdal<br>
Aihe: [gdal-dev] Compoundcurve to DXF<br>
<br>
Hi list,I am trying to convert a geopackage layer with compoundcurve geometry to autocad, hoping to get ARCS or bulging (LW)POLYLINE, without tesselation.I can do this in QGis by exporting the project to DXF, but not by saving the layer as DXF.Moreover, the produced XY geometries get garbled with nan's.Direct attempt with ogr2ogr had the same result:ogr2ogr -f DXF rott.dxf GPKG:rotterdam_land24_2.gpkg -nlt compoundcurve -sql "SELECT layer AS Layer, geom FROM land_24_2"-nlt compoundcurve was accepted, but apparently not applied.Is this expected? Have I overlooked something? If not, is there a plan to add this functionality?The data (104 kb) can be downloaded from this dropbox link.Best regards,Jan</blockquote></div>