[Proj] (no subject)

Massimo Di Stefano massimodisasha at yahoo.it
Wed Mar 28 03:43:20 PDT 2007


hi using a string like :

var="4051.1749|01415.5317"; echo "${var:0:2} ${var:2:2} ${var:5:2}.$ 
{var:7:2} ${var:10:3} ${var:13:2} ${var:16:2}.${var:18:2}"

i've reformatted the NMEA output to :

40 51 17.49 014 15 53.17


what is the right way
  to translate this coords
into a wgs "metric"  coordinate
... i'm using a grass location "wgs"

projection: 1 (UTM)
zone:       33
datum:      wgs84
ellipsoid:  wgs84


thanks for any suggestion,

Massimo


Il giorno 27/mar/07, alle ore 20:22, Massimo Di Stefano ha scritto:


> Yes it is a NMEA gps output
>
> i'm tring to red it directly from a seria device,
>
> reformat it in a rght format readable by proj
> can i trasnfor it from :
>
> 4051.1749  N   01415.5317   E
>
> to
>
> 40 51 17.49 N  014 15 53.17
>
>
> that isn't the same of:
>
> 40.511749  N   014.155317   E
>
> right?
> (sorry for this basilar question!)
>
>
> have you any suggestion/comment to
> read directly the NMEA format in proj !
>
> i'm playing with awk or other bash command to reformat this...
> but i'm a newbie student...:-)
> ...  have you any suggestion about ?
>
> thanks,
>
> Massimo
>
>
>
>
>
>
> Il giorno 27/mar/07, alle ore 19:03, proj- 
> request at lists.maptools.org ha scritto:
>
>
>> Massimo,
>> This looks like an NMEA GPS format. Eg DDDMM.mmmmm
>>
>> You might need to re-format the values to something like decimal  
>> degrees
>> (DDD.dddddddddd) or DD MM SS.ss to use proj for the conversion.
>>
>> Regards
>> Andrew
>>
>
>





More information about the Proj mailing list