dgnlib and cells

Radim Blazek blazek at i...
Thu Nov 14 09:14:05 EST 2002


Hi,

1) Is it right that unshared cells in DGN are saved as
cell header (type 2) followed by cell members within 'totlength'?
Something like complex chains/shapes? This is not explicitly said
in http://gdal.velocet.ca/projects/dgn/dgn.html and I am missing
something like 'numelems' for Cell Header.

2) Where is fseek() for element in DGN file before
psChildElement = DGNReadElement( hDGN ); 
in OGRDGNLayer::ElementToFeature() (grdgnlayer.cpp)
for DGNST_COMPLEX_HEADER? I don't see any call to DGNGotoElement().
Are there file offsets to members of complex chains/shapes and unshared
cells saved in index?

3) Any reason why DGNT_CELL_HEADER is not processed by
OGRDGNLayer::ElementToFeature()? It seems that Cells are silently
lost, is that true?

Thanks for help.

Radim 




More information about the Gdal-dev mailing list