Menu

#223 Working with arc, circle and Ellips

open
nobody
5
2015-06-04
2015-06-02
Bernd Wehle
No

Does anyone have ideas?
I have to work with many DXF files and the files containing these elements like
"AcDbEllipse" or "AcDbCircle".
In OpenJUMP I can not see or edit them.
who can help?

Related

Feature Requests: #223

Discussion

  • michael michaud

    michael michaud - 2015-06-02

    OpenJUMP dxf driver stick to a very old format specification and interpret only basic shapes.
    If you have circles or ellipses in your file, you are out of luck.
    Maybe a converter able to convert from recent format specification to old format will be
    able to discretize your shapes into LineString/Polygon.
    Maybe you could try
    http://www.opendesign.com/guestfiles/TeighaFileConverter
    (I had used a previous version, but I can't remember if it does this particular job)

     
  • michael michaud

    michael michaud - 2015-06-02

    ogr2ogr is also a good idea,

    you have also another dxf driver for OpenJUMP mentioned here
    http://ojwiki.soldin.de/index.php?title=Plugins_for_OpenJUMP#Other_Dataformats

    if you find a solution, maybe you could report your experience somewhere in the wiki.

     
  • Bernd Wehle

    Bernd Wehle - 2015-06-04

    thanks for the tip to using teigha-tools.
    I have tested:
    This tools can splitting circles or ellipses into linestrings with ascii-dfx-versions between R09 and R12. Binary dxf is not tested.
    In R14 and above exist no splitting and this features are not imported into openjump.

    This is a good usable temporary solution, but not the real aim.

     
  • Bernd Wehle

    Bernd Wehle - 2015-06-04

    yes, ogr2ogr works too.
    But ogr2ogr is a little bit cryptical for individual cases.
    This works perfectly in a batch, with any data-formates like shapes, postgis, dxf, esri-filegeodatabase and so on and can split dxf-curves into lines.
    We use it periodically to

    • write from postgis into esri-filegeodatabase or
    • cataloging specific areas of dxf into postgis or
    • write multiple layers from esri-filegeodatabase into postgis-database-layers
      and many others.

    I doubt if this problem can be solved.
    Not all oj-users can work with a PostGIS database.
    And i have not checked "ogr2ogr from_dxf to_dxf".

     

Log in to post a comment.

MongoDB Logo MongoDB