Notes:
Uno or Mega, the pin connectors are all 0.1″ spacing. On one side there is a 0.1″ gap between set of analog pins and other pins. On other side, they all are digital pins but there is a 0.05″ gap between the 2 sets of connector. Basically it was a mistake on the first PCB and they have kept it so that the shields would be compatable with future models.
This is why the Adafruit RGB Matrix Shield cannot be used on a Mega as the pins do not line up, unless you solder the two pins for SDA and SCL, then remove the spacer support, bend the two pins as shown in the picture so they are offset 0.05″, which allows the shield to plug in.