Locate Gate

Divination
Level: Bard * 5, Cleric */Oracle * 5, Sorcerer */Wizard * 5, Summoner * 5
Components: V, S, F/DF (a small lodestone sphere)
Casting Time: 1 Standard Action
Range: long (400 ft. + 40 ft./level)
Area: circle centered on you with a radius of 400 ft. + 40 ft./level
Duration: 1 minute/level
Saving Throw: None
Spell Resistance: no
  You sense the direction of the nearest teleportation circle (permanent or with a remaining duration), gate spell, or other effect which magically connects two different locations (for example, an active magic item, a creature's special ability, or unique adventure location). Locate gate detects only spells or effects with a permanent or ongoing duration, not instantaneous effects like dimension door or teleport. Locate gate can be blocked by spells like nondetection, if the effect originates from a specific Object or creature. However, spell effects can't likewise be warded. For example, ring gates are a specific Object, but a permanent teleportation circle is not (the surface in which it's inscribed doesn't count). Locate gate isn't blocked by lead, water, or other physical environmental conditions, but it is blocked by any intervening area that is dimensionally warded (such as by dimensional lock or forbiddance).