D23822: Extract trenitalia coach number from the barcode instead of using regular expressions on the pdf

Daniele E. Domenichelli noreply at phabricator.kde.org
Mon Sep 16 18:20:51 BST 2019


ddomenichelli added a comment.


  From all the samples that I was able to find, the only ones that do not match are the ones in Coach "11", where this area contains "1". All the other barcodes match. I think this could correspond to the less significant digit, and that the most significant one might be encoded somewhere else. I don't think there is any train that has more that 19 coaches, therefore this digit could be encoded in just one bit. I have a candidate (30:4), this matches with all my samples, but I don't have enough 2-digits-coach ticket to validate this hypothesis. Also I could not understand the meaning of bit 30:5 (that would be between the most significant digit and the last one)

REPOSITORY
  R1003 KItinerary: Travel Reservation handling library

REVISION DETAIL
  https://phabricator.kde.org/D23822

To: ddomenichelli, vkrause
Cc: kde-pim, fbampaloukas, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190916/8f36a301/attachment.html>


More information about the kde-pim mailing list