Author Topic: MEX-DF: Should we change all DF references to CDMX?  (Read 7137 times)

0 Members and 1 Guest are viewing this topic.

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
MEX-DF: Should we change all DF references to CDMX?
« on: November 14, 2019, 09:08:17 am »
On 29 January 2016, it ceased to be the Federal District (Spanish: Distrito Federal or D.F.) and is now officially known as Ciudad de México (or CDMX), with a greater degree of autonomy.

This would mean renaming the MEX-DF folder and the files within from mexdf* to mexcdmx*, as well as changing any references to the city limits.

Edit: "MEX-DF:" added to subject
« Last Edit: August 23, 2021, 01:59:18 pm by michih »

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Re: Should we change all DF references to CDMX?
« Reply #1 on: November 14, 2019, 09:37:51 am »
I don't remember where but we discussed the Mexican region names anywhere. We usually go with ISO 3166: https://en.wikipedia.org/wiki/ISO_3166-2:MX

Please don't jump the gun with changing, we should discussed first. I'm in favor of changing it to ISO names when the whole revision of active Mexican systems is done - on activation of the new systems.

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
Re: Should we change all DF references to CDMX?
« Reply #2 on: November 14, 2019, 09:58:29 am »
I'm in favor of changing it to ISO names when the whole revision of active Mexican systems is done - on activation of the new systems.
Which would require a whole bunch of changes after I make the new files - changes to file names, prefixes for state routes, labels for state lines :(

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Re: Should we change all DF references to CDMX?
« Reply #3 on: November 14, 2019, 10:02:34 am »
Yes, but the region name change is much less effort for users than the effort to map their travels to the new routes. When we wanna change the name of one region, we should do it for all regions.

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
Re: Should we change all DF references to CDMX?
« Reply #4 on: November 14, 2019, 10:05:19 am »
Are you volunteering to go through all the files I haven't made yet and change the state abbreviations in the future? Otherwise I see no reason I shouldn't start using the new abbreviations now in waypoint labels.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Re: Should we change all DF references to CDMX?
« Reply #5 on: November 14, 2019, 10:15:14 am »
Are you volunteering to go through all the files I haven't made yet and change the state abbreviations in the future? Otherwise I see no reason I shouldn't start using the new abbreviations now in waypoint labels.

Sure, it's just 155 files in 69 folders. A quicky when doing offline. It would be awful doing it directly on Github.
Maybe yakra could do it even quicker with some smart code? Maybe an automated renaming of the files (and folders).
The file content is no issue at all (~10 minutes job for me)

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
Re: Should we change all DF references to CDMX?
« Reply #6 on: November 14, 2019, 11:30:28 am »
It's also worth thinking about whether we should use the abbreviations the states themselves use on shields. Every state has a standard abbreviation for the normal state shield.
« Last Edit: November 14, 2019, 11:38:14 am by neroute2 »

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Mexico region codes
« Reply #7 on: November 16, 2019, 09:57:32 am »
I don't remember where but we discussed the Mexican region names anywhere. We usually go with ISO 3166: https://en.wikipedia.org/wiki/ISO_3166-2:MX

Please don't jump the gun with changing, we should discussed first. I'm in favor of changing it to ISO names when the whole revision of active Mexican systems is done - on activation of the new systems.

15 out of 32 codes had to be changed (marked with '-->'). In addition one region name:

Code: [Select]
MEX;Mexico;MEX;NA;Country
MEX-AGS --> MEX-AGU;Aguascalientes;MEX;NA;State
MEX-BC --> MEX-BCN;Baja California;MEX;NA;State
MEX-BCS;Baja California Sur;MEX;NA;State
MEX-CAM;Campeche;MEX;NA;State
MEX-CHIH --> MEX-CHH;Chihuahua;MEX;NA;State
MEX-CHIS --> MEX-CHP;Chiapas;MEX;NA;State
MEX-COAH --> MEX-COA;Coahuila;MEX;NA;State
MEX-COL;Colima;MEX;NA;State
MEX-DF --> MEX-MEX;Distrito Federal;MEX;NA;Federal District
MEX-DGO --> MEX-DUR;Durango;MEX;NA;State
MEX-EMEX --> MEX-CMX;Estado de Mexico --> Ciudad de Mexico;MEX;NA;State
MEX-GRO;Guerrero;MEX;NA;State
MEX-GTO --> MEX-GUA;Guanajuato;MEX;NA;State
MEX-HGO --> MEX-HID;Hidalgo;MEX;NA;State
MEX-JAL;Jalisco;MEX;NA;State
MEX-MICH --> MEX-MIC;Michoacán;MEX;NA;State
MEX-MOR;Morelos;MEX;NA;State
MEX-NAY;Nayarit;MEX;NA;State
MEX-NL --> MEX-NLE;Nuevo León;MEX;NA;State
MEX-OAX;Oaxaca;MEX;NA;State
MEX-PUE;Puebla;MEX;NA;State
MEX-QRO --> MEX-QUE;Queretaro;MEX;NA;State
MEX-QROO --> MEX-ROO;Quintana Roo;MEX;NA;State
MEX-SIN;Sinaloa;MEX;NA;State
MEX-SLP;San Luis Potosí;MEX;NA;State
MEX-SON;Sonora;MEX;NA;State
MEX-TAB;Tabasco;MEX;NA;State
MEX-TAM;Tamaulipas;MEX;NA;State
MEX-TLAX --> MEX-TLA;Tlaxcala;MEX;NA;State
MEX-VER;Veracruz;MEX;NA;State
MEX-YUC;Yucatán;MEX;NA;State
MEX-ZAC;Zacatecas;MEX;NA;State

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
Re: Should we change all DF references to CDMX?
« Reply #8 on: November 16, 2019, 01:18:28 pm »
After thinking about it, I would oppose changing away from the abbreviations used on state shields (I'll make a full list of these when I'm not on my phone). The only two states or equivalents that can't use this abbreviation are EMEX/MEX (ambiguous since we also use that for federal highways) and DF/CDMX (no state routes).

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
Re: Should we change all DF references to CDMX?
« Reply #9 on: November 17, 2019, 12:05:44 pm »
Here are the abbreviations used on signs:
AGS (no current files)
BC (no change)
BCS (no change)
CAM (no change)
CHIH (no change)
CHIS (no change)
COAH (no change)
COL (no change)
DGO (no change)
GRO (no change)
GTO (no change)
HGO (no change)
JAL (no change)
MEX (needs to stay EMEX to avoid ambiguity; a few signs not posted by the state use EDO MEX)
MICH (no change)
MOR (no change)
NAY (no change)
NL (no change)
OAX (no change)
PUE (no change)
QRO (no change)
Q. ROO (no change from QROO)
SIN (no change)
SLP (no change)
SON (no change)
TAB (no change)
TAM or TAMPS (no change from TAM)
TLAX (no change)
VER (no change)
YUC (no change)
ZAC (no change)

So the only change I support is DF to CDMX.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Re: Should we change all DF references to CDMX?
« Reply #10 on: November 17, 2019, 12:57:47 pm »
I'm not aware of any exception to ISO codes - except of Mexico of course.

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 976
  • Last Login:Today at 11:54:00 am
Re: Should we change all DF references to CDMX?
« Reply #11 on: November 17, 2019, 02:25:29 pm »
I'm not aware of any exception to ISO codes - except of Mexico of course.
Are you aware of any other countries that prominently use abbreviations on their subnational routes?

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Re: Should we change all DF references to CDMX?
« Reply #12 on: November 17, 2019, 03:14:34 pm »
I'm not aware of any exception to ISO codes - except of Mexico of course.
Are you aware of any other countries that prominently use abbreviations on their subnational routes?

I don't know about Australia, Canada, China, India and USA but Germany, France, Spain and UK don't. However, all European countries - which are often TM regions - do. And it's mostly different to ISO.

What does the master of regions.csv think about it, Si?

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1948
  • Last Login:Today at 12:56:44 pm
Re: Should we change all DF references to CDMX?
« Reply #13 on: November 17, 2019, 03:29:15 pm »
Are you aware of any other countries that prominently use abbreviations on their subnational routes?
Spain for their autonomous community routes (as michih should know!)

And there's discrepancies between what's on the roads, and ISO has as codes.

Andalusia: ESP-AN, abbrev A
Aragon: ESP-AR, abbrev ARA-, A
Asturias: ESP-AS, abbrev AS
Cantabria: ESP-CB, abbrev CA
Castille and Leon: ESP-CL, abbrev CL
Castilla-La Mancha: ESP-CM, abbrev CM
Canary Islands: ESP-CN, abbrevs FV, GC, GM, HI, LP, LZ, TF (done at lower level, islands)
Catalonia: ESP-CT, abbrev C
Galacia: ESP-GA, abbrevs AG (community-wide motorways), AC, LU, OU, PO (done at lower level)
Balearic Islands: ESP-IB, abbrevs EI, Ma (done at lower level, islands)
Region of Murcia: ESP-MC, abbrev RM
Community of Madrid: ESP-MD, abbrev M
Navarre: ESP-NC, abbrev NA
Basque Country: ESP-PV, abbrevs A, BI, GI (done at lower level)
La Rioja: ESP-RI, abbrev LR
Valencian Community: ESP-VC, abbrev CV

Also, for something you might be familiar with: Michigan's state routes are M-xx, not MIxx.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Yesterday at 04:04:16 pm
Re: Should we change all DF references to CDMX?
« Reply #14 on: November 17, 2019, 03:39:52 pm »
Of course I know. I thought that I read "subnational borders" instead of "subnational routes". Sorry......

Edit: German states use L, S or St but never BB, BE, BW, BY,... All German districts use K except of Bavarian districts which use district abbreviations like A, AB,..
« Last Edit: November 17, 2019, 03:42:40 pm by michih »