Pentax O-GPS1 is compact GPS system, Just fix the GPS where you fix your flash and that will Geotag all your photos with the appropriate coordinates. , Pentax O-GPS1 will work the K-5, k-r and 645D.
Pentax O-GPS1 comes with ASTROTRACER for PENTAX K-5 or K-r camera body, the ASTROTRACER function couples the unit with the camera’s SR (Shake Reduction) system and enables users to photograph celestial bodies. The unit can calculate the movement of stars, planets, and other bodies using the latitude obtained from GPS data and the camera’s alignment data (horizontal and vertical inclinations and aspect) obtained from its magnetic and acceleration sensors, then shifts the camera’s image sensor in synchronization with the movement of the objects. As a result, stars and other bodies are captured as solid points rather than blurry streaks, even during extended exposures.
Buy Pentax GPS Unit O-GPS1 from Amazon