Hi,

By reading https://gdal.org/en/stable/drivers/vector/dxf.html this feels clear 
and expected:

"CIRCLE, ELLIPSE, ARC, SPLINE,HELIX: Translated as a LINESTRING, tessellating 
the curve into line segments"
and
"The OGR_ARC_STEPSIZE and OGR_ARC_MAX_GAP configurations options control the 
approximation of arcs, ellipses, circles and rounded polylines as linestrings"

I fear that all you have overlooked was the documentation.

-Jukka Rahkonen-

________________________________________
Lähettäjä: gdal-dev käyttäjän Jan Heckman via gdal-dev puolesta
Lähetetty: Keskiviikko 7. toukokuuta 2025 14.47
Vastaanottaja: gdal
Aihe: [gdal-dev] Compoundcurve to DXF

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
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to