[Proj] wgs point (lat-lon 'NMEA' to N-E 'metric') "was (lat-lon 'degres' to N-E 'metric')"

Hamish hamish_nospam at yahoo.com
Wed Mar 28 00:53:36 EST 2007

Eric Miller wrote:
> Lots of people have written interfaces for NMEA compliant devices. 
> Unless you're doing it for educational reasons, you might have a look
> at the GPS software listed on freegis.org.

specifically Gpsd:  http://gpsd.berlios.de

as for 
> 4051.1749 N  --> 40 51.1749 N --> 40.852915 N 

if data is fixed width you might add "cut" to awk,

lat_deg=`echo "$input" | cut -c1-2`
lat_min=`echo "$input" | cut -c3-9`
lat_hem=`echo "$input" | cut -c11`


$ echo $lat_dm

which proj might be happy with.


More information about the Proj mailing list