[gdal-dev] Compoundcurve to DXF

Jan Heckman jan.heckman at gmail.com
Wed May 7 04:47:34 PDT 2025


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
<https://www.dropbox.com/scl/fi/hdxvw0e74q96ljfeapg9a/rotterdam_land24_2.gpkg?rlkey=ba3xdcvbtmyxr2mtcw9q0ri7c&dl=0>
.
Best regards,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250507/ddca8ebc/attachment.htm>


More information about the gdal-dev mailing list