LibGeoShield is a project mainly written in C++ and C, it's free.
Arduino library for the Liquidware GeoShield
A library for the fully integrated Liquidware GeoShield.
The GeoShield is an integrated Arduino module with built-in GPS, 3-Axis Accelerometer, and Digital Compass sensors.
Learn more at http://www.liquidware.com/category/Sensors