Opened 8 years ago

Closed 8 years ago

#4009 closed defect (fixed)

DXF block geometry merging annoying sometimes

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: DXF
Cc: djay


By default the DXF driver attempts to merge all the geometries of a BLOCK into a GEOMETRYCOLLECTION[] for inlining etc. This has the nice property of keeping them together as a single feature in the resulting layer but many applications (such as QGIS) have trouble dealing with geometry collections.

It would be desirable to have a way to produce a feature for each entity in the block, much like we already have to do for text entities in a block.

Change History (1)

comment:1 Changed 8 years ago by warmerdam

Resolution: fixed
Status: newclosed

I have added a configuration variable to avoid merging geometries into collections for a block based on the DXF_MERGE_BLOCK_GEOMETRIES config option. Only in trunk (r22011) for now. It might be worth considering making this the default behavior.

Note: See TracTickets for help on using tickets.