Hi all,

I attempt to copy DXF data to GPKG using the following command:

ogr2ogr --config DXF_MERGE_BLOCK_GEOMETRIES FALSE --config DXF_INLINE_BLOCKS 
FALSE -f "GPKG" D:/tmp/632_20-2N.gpkg D:/tmp/632_20-2N.dxf --debug ON

My DXF contains some blocks with several block attributes. According to 
https://gdal.org/drivers/vector/dxf.html, the attributes should be written to 
the BlockAttributes field if DXF_INLINE_BLOCKS is set to false. However, this 
field remains empty ("") in my case.

Can you confirm that ogr2ogr can read DXF block attributes? (according to the 
known issues at Github, writing block attributes is not yet supported)

Any ideas why the field BlockAttributes (also BlockScale, BlockOCSNormal, 
BlockOCSCoords) is set to "" in the GPKG? BlockName and BlockAngle are set 
correctly.

Best regards
Simon


_______________________________

Vermessungskanzlei Neumayr

Simon Gröchenig - Geoinformation



Albin Egger-Str. 10

9900 Lienz

Tel: +43 4852 68568 31

Mobil: +43 664 1544804

Email: groeche...@zt-gis.at<mailto:groeche...@zt-gis.at>

Web: http://www.zt-gis.at/
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to