Opened 14 years ago
Closed 14 years ago
#3817 closed enhancement (fixed)
Ogr dxf AcDbEntity:AcDbBlockReference have same entityhandle for composing parts
Reported by: | lucvanlinden | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | ogr dxf AcDbBlockReference insert entityhandle |
Cc: |
Description
for the OGR DXF support.
- It would be good that there is also
a BlockName attributes on features in the entity layer and this is set for entities derived from blocks. So it could be used to identify all the features from a particular block.
- The code should be updated to
apply the entity id of the INSERT to all (composing) features. currently only the geometrycollection retains the the INSERT entityhandle, while other block/insert composing elements (a text for example), is given its original (before composing the block) entityhandle.
This current behaviour makes it impossible to "detect" what the composing elements are for a single insert (AcDbBlockReference).
Change History (1)
comment:1 by , 14 years ago
Component: | default → OGR_SF |
---|---|
Milestone: | → 1.8.0 |
Resolution: | → fixed |
Status: | new → closed |
I have modified ogrdxflayer.cpp to apply the entity id of the INSERT to all features put in it's place (r21062). This is a change for the text features.
Contrary to what I previously indicated, BlockName attributes are not normally provided in DXF entities features - only in the situation that blocks are not being inlined. This does make it difficult to identify which text features actually come from blocks.