Author Topic: mexf: Mexico federal routes  (Read 1970 times)

0 Members and 1 Guest are viewing this topic.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2509
  • Last Login:Yesterday at 05:57:12 pm
Re: mexf: Mexico federal routes
« Reply #30 on: March 24, 2020, 03:57:53 pm »
Quote
ABORTING due to 3 errors:
1: Abbrev >3 characters in mexf.csv line: [mexf;MEX-COAH;MEX57;;Cañ;Cañada Ancha;mexcoah.mex057can;], Cañ
2: Could not find Route matching root mexcoah.mex057can in system mexf.
3: No roots in mexf_con.csv line [mexf;MEX57;;Saltillo - Santa Cruz, COAH;mexcoah.mex057can]
[/size]
The ñ appears to be a (unicode, UTF-whatever, etc.) multi-byte character. The database barfs on it, and so does the HB.
Since Region + " " + Route + Banner + Abbrev concatenated together = our .list name, we need to stick with standard Latin characters all users can easily type into a .list.

Cañ -> Can
« Last Edit: March 24, 2020, 04:05:42 pm by yakra »

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 539
  • Last Login:Yesterday at 11:56:13 pm
Re: mexf: Mexico federal routes
« Reply #31 on: March 24, 2020, 09:33:06 pm »
Fixed in my version.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2509
  • Last Login:Yesterday at 05:57:12 pm
Re: mexf: Mexico federal routes
« Reply #32 on: March 26, 2020, 05:09:50 pm »
I messed up the HB link above. Should be
travelmapping.net/hb/?r=mexcoah.mex057can .
This .list name still appears mangled though.

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 539
  • Last Login:Yesterday at 11:56:13 pm
Re: mexf: Mexico federal routes
« Reply #33 on: March 26, 2020, 05:16:11 pm »
Probably because I haven't done a pull request since then. Tonight should add more routes and this fix.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2509
  • Last Login:Yesterday at 05:57:12 pm
Re: mexf: Mexico federal routes
« Reply #34 on: Yesterday at 11:07:16 am »
Yes. I was mostly referring to how the HB in the initial link looked as mangled as it did due to my error in producing said link.