Ticket #4009 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Description

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

Changed 2 years ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed

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.