ofmgraz / transkribus-out

1 stars 0 forks source link

Bad transformation #64

Closed fsanzl closed 4 months ago

fsanzl commented 5 months ago

Transformed data/editions/1493184.xml

<surface ulx="0" uly="0" lrx="3615" lry="5416" xml:id="facs_60">                                                                                                                                                                                    
    <graphic url="57166534.jpg" width="3615px" height="5416px"/>
    <graphic url="https://files.transkribus.eu/Get?id=EATZPUKKHBKSKPLFHXWUIEDC&amp;fileType=view" width="3615px" height="5416px"/>
</surface>

It should be:

<surface ulx="0" uly="0" lrx="3615" lry="5416" xml:id="facs_60">
    <graphic url="A-Gu_A63_51-029v.jpg" width="3615px" height="5416px"/>
    <graphic url="https://files.transkribus.eu/Get?id=EATZPUKKHBKSKPLFHXWUIEDC&amp;fileType=view" width="3615px" height="5416px"/>
</surface>

The METS sources seem normal: 1493184_mets.xml

<ns3:file ID="IMG_59" SEQ="59" MIMETYPE="image/jpeg" CREATED="2023-07-05T17:51:03.000+02:00">
    <ns3:FLocat LOCTYPE="URL" ns2:type="simple" ns2:href="https://files.transkribus.eu/Get?id=NOBPKJVTTUWNDOOWCBKQMWGC&amp;fileType=view"/>
</ns3:file>
<ns3:file ID="IMG_60" SEQ="60" MIMETYPE="image/jpeg" CREATED="2023-07-05T17:51:04.000+02:00">                                                                                                                                                  
    <ns3:FLocat LOCTYPE="URL" ns2:type="simple" ns2:href="https://files.transkribus.eu/Get?id=EATZPUKKHBKSKPLFHXWUIEDC&amp;fileType=view"/>
</ns3:file>
<ns3:file ID="IMG_61" SEQ="61" MIMETYPE="image/jpeg" CREATED="2023-07-05T17:51:04.000+02:00">
    <ns3:FLocat LOCTYPE="URL" ns2:type="simple" ns2:href="https://files.transkribus.eu/Get?id=XLCDZWFZFWDZCAYAHPYTTENP&amp;fileType=view"/>
</ns3:file>

1493184_image_name.xml

<item n="59">A-Gu_A63_51-029r.jpg</item>
<item n="60">A-Gu_A63_51-029v.jpg</item>
<item n="61">A-Gu_A63_51-030r.jpg</item>
fsanzl commented 4 months ago

Solved