[
https://issues.apache.org/jira/browse/TIKA-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530457#comment-17530457
]
Dan Coldrick edited comment on TIKA-3742 at 4/30/22 9:32 PM:
-------------------------------------------------------------
Is this correct for working out the deletion? If it is I might actually
understand how its working a bit more!
{code:java}
boolean isdeleted = BigInteger.valueOf(h2).testBit(7); {code}
Edit:
That looks to have done the trick. Next issue is I'm getting different values
out compared to dgn dump (and when I look at the file using MicroStation)
An example is in
I get out 1264t.dgn (I've attached to JIRA)
INDIAN TRAIL RD]
where as it should just be
INDIAN TRAIL RD
I've got multiple examples of these.
was (Author: monkmachine):
Is this correct for working out the deletion? If it is I might actually
understand how its working a bit more!
{code:java}
boolean isdeleted = BigInteger.valueOf(h2).testBit(7); {code}
Edit:
That looks to have done the trick. Next issue is I'm getting different values
out compared to dgn dump (and when I look at the file using MicroStation)
An example is in
I get out 1264t.dgn (I've attached to JIRA)
INDIAN TRAIL RD]
where as it should just be
INDIAN TRAIL RD
> Advice around DGN7 parser and whether to add to TIKA
> ----------------------------------------------------
>
> Key: TIKA-3742
> URL: https://issues.apache.org/jira/browse/TIKA-3742
> Project: Tika
> Issue Type: Task
> Components: parser
> Reporter: Dan Coldrick
> Priority: Minor
> Attachments: 1264t.dgn, DGN.zip, ExampleOutput.txt
>
>
> Hi [~tallison] & Whoever else.
> I managed to compile the C/C++ library [http://dgnlib.maptools.org/] for
> DGN7 which produces an dgndump.exe which will dump all the data from the DGN.
> From my initial testing it looks pretty good.
> Would you guys think it was worth adding this or just keep it as a custom
> parser rather than in the main source code? It's under MIT license. I've
> attached the exe (zipped), a copy of the output from the dump and my very
> dirty testing calling the exe (my code I was only interested in the Strings
> so am only pulling those into a string array at the moment to check it's
> pulling out the correct data).
--
This message was sent by Atlassian Jira
(v8.20.7#820007)