[Proj] Re: wgs point (lat-lon 'NMEA' to N-E 'metric')

Hamish hamish_nospam at yahoo.com
Wed Mar 28 23:19:13 PDT 2007


Massimo Di Stefano wrote:
> ... the proj conversion produce as result
> a   LAT  -  LON   point
> 
> but grass reads the points (v.in.ascii)
> as
> LON - LAT


v.in.ascii "standard mode" (ascii vector format): needs "x y" format.
(lon lat)

v.in.ascii "points mode" (e.g. .csv file): x,y data can be in any data
column, any order. use x= and y= to set which column each is in.


> so i need to revert the order of coordinates ($Lat  $Lon) > ($Lon > $Lat)
>   (right?)

echo "$data" | awk '{print $2 " " $1}'


Hamish



More information about the Proj mailing list