Skip to content

Pbf Parsing #993

@alsab200

Description

@alsab200

issue #421 , one of wich was pdf parsing .. had never worked for me.. Couldn't report..
With this latest release cahngelog I tried and I could import pdf dfile irectly succesfully..
But..
This is how PDF file was processed as: (the bookmark1 begins (b1-b) and bookmark-1 ends (b1-e)):

0=12688Bookmark 1 ,
1=50043
Bookmark 2 == YOU: Bookmark-1, ; ME: Chapter-1 (b1-b, b1e); OK!
2=988932Bookmark 3
3=1009204
Bookmark 4 == YOU: Bookmark-"3", ; ME: Chapter-"2"(b2-b, b2-e); OK!

Why? Because your algorithm inserts "bookmark-"2"" in between from 50043 to 988932..
This is the segment / Chapter actually will be CUT!

İn pdf file there are no Chapters - (say segments to be cut out / saved) just bookmarks.!
So what we do is to create "2" bookmarks to define a chapter or segmet.. One for the beginning One for the end of Chapter! (To be SAVED)

the code snippets I mentioned at #421 converting PBF to EDL, EDL to CSV FOR LLC do:
couple the bookmarks! Bookmark 1-2 for CH.1 ; Bookmark 3-4 for CH. 2 etc..

So, this parsing needs to be changed to JUst couple the bookmarks..

OR if that wont be possible say as an option while importing..
An option to delete all "even" numbered bookmarks after the import!..

This, put to action; meaning succesfully importing pdf.. would be a great time saver..
Thank you again for your time..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions