Using a BN-880 GPS module or similar and an Arduino Uno, the library and Arduino sketch will parse the incoming NMEA GNGGA sentence and print:
Time, Latitude, Longitude, GPS fix status, Number of satellites, Horizontal dilution of position, Altitude, Height of geoid above WGS84 elipsoid.
Each NMEA sentence is parity checked.
The library is simple to modify and well documented for adapting to your own purpose.
Example of output from Arduino.