The spatial frequency refers to how many complete periods the signal goes through for a given unit of distance (eg. cylcles/m) while the temporal frequency refers to how many complete periods the signal goes through for a given unit of time (eg. cyles/s or Hz).