dgn2sdo imports circles as lines

Hi,

I have a serious problem which a hope is due my ignorance.

My circles and ellipses  import when I specify IN_GEOM_TYPE=LINE and skips any lines on the same layer.

I've set up a test file containing i circle, i line string and one shape, all on level 63. The import skript has two rows:

%dgn2sdo% IN_FILE="E:\dgn\circle_test.dgn" IN_TYPE=DGN IN_GEOM_TYPE=LINE  IN_LEVEL="Level 63" OUT_GEOM_TABLE=TMP_63_LINE

%dgn2sdo% IN_FILE="E:\dgn\circle_test.dgn" IN_TYPE=DGN IN_GEOM_TYPE=POLYGONS    IN_LEVEL="Level 63" OUT_GEOM_TABLE=TMP_63_POLY

The expected outpout would be: circle and polygon into TMP_63_POLY and line string into TMP_63_LINE

The result is, however, circle into TMP_63_LINE (as polygon), no lines imported, the shape into TMP_63_POLY (correct).

Have I missed something?

All files are attached.

Regards,

Krister

SDOload.zip
Parents Reply
  • I believe that is right. A circle, in the true sense is a closed shape ( ie polygon).

    As for skipping lines on the same layer. I believe you are saying that you are trying to insert polygons and lines into the same spatial layer, which can be done from a SQL insert point of view, but from a standard Oracle Spatial point of view, you should not mix geometry types ( points, lines.polygons) in a spatial table.

    (please correct me if my assumption is wrong).

    HTH

    Jerry

     

Children