2
$\begingroup$

I am extending the Apache Tika parser for DWG files so that I can parse text out of DWG files.

Currently someone else has written some basic metadata parsing which is great. But the newer versions of DWG are not yet supported.

I would like to add that support, and extend what is possible to parse.

I read around online and the Spec for DWG file format is proprietary as far as I can tell, so does that mean there is no open specification document?

Any help anyone can contribute to help me parse DWG files would be appreciated!

$\endgroup$
4
  • $\begingroup$ The DXF format could be an alternate solution. $\endgroup$
    – DavidJ
    Jan 9, 2021 at 0:30
  • 1
    $\begingroup$ It is what proprietary means! Sort of defeats purpose if you publish a spec on it. $\endgroup$ Jan 9, 2021 at 5:14
  • $\begingroup$ @nicholas-dipiazza Did you succeed in your task of creating a parser for DWG? I need the same. Can we collaborate? $\endgroup$
    – afrish
    Mar 17, 2021 at 20:31
  • $\begingroup$ github.com/apache/tika/pull/395 here u go $\endgroup$ Mar 17, 2021 at 22:41

1 Answer 1

2
$\begingroup$

While DWG files are a proprietary binary format by Autodesk, they gave some visibility at some point to the Open DesignAlliance and allowed them to make an open spec.

https://www.opendesign.com/files/guestdownloads/OpenDesign_Specification_for_.dwg_files.pdf

It's not perfect. You'll see situations where they weren't given enough information to prefect define something... such as:

We have occasionally seen other values here but their meaning (and importance) is unclear.

But it's better than nothing!

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.