ofmgraz / transkribus-out

1 stars 0 forks source link

Badly formed graphic URL #62

Closed fsanzl closed 5 months ago

fsanzl commented 5 months ago

Discovered while trying ARCHE ingesting:

 <surface ulx="0" uly="0" lrx="3840" lry="5760" xml:id="facs_59">
      <graphic url="https://viewer.acdh.oeaw.ac.at/viewer/api/v1/records/A63_51/files/images/A-Gf_A63_51-029r/full/full/0/default.jpg" width="3840px" height="5760px"/>
    </surface>
    <surface ulx="0" uly="0" lrx="3615" lry="5416" xml:id="facs_60">
      <graphic url="https://viewer.acdh.oeaw.ac.at/viewer/api/v1/records/A63_51/files/images//full/full/0/default.jpg" width="3615px" height="5416px"/>
      <graphic url="https://viewer.acdh.oeaw.ac.at/viewer/api/v1/records/A63_51/files/images/https://files/full/full/0/default.jpg" width="3615px" height="5416px"/>
    </surface>
    <surface ulx="0" uly="0" lrx="3840" lry="5760" xml:id="facs_61">
      <graphic url="https://viewer.acdh.oeaw.ac.at/viewer/api/v1/records/A63_51/files/images/A-Gf_A63_51-030r/full/full/0/default.jpg" width="3840px" height="5760px"/>
    </surface>
fsanzl commented 5 months ago

It goes back to the trransformation:

<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>

The original METS:

<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>