I would choose Earth. Although, if the city already has Astral Gates and doesn't have City Portal or Resurrection, I would think carefully and, depending on the difficulty and size of the map, I would either choose Air (if it's really needed) or Earth (if it can wait).
But in general, I would probably choose Air, because if the hero is at a level where only one slot is left, then probably many cities have already been captured; and if none of them have a City Portal or Resurrection, then it's not worth it.
Well, you're asking which magic is better? How can you decide right away? It all depends on the circumstances!