[GRASSLIST:7583] Re: v.in.ascii

Hamish hamish_nospam at yahoo.com
Mon Jul 18 02:35:39 EDT 2005


Dave:
> I'm attempting to us v.in.ascii to import sites.  Things work fine
> when I use Eastings/Northings.  However, I would like to import
> points in latitude/longiture.  When I attempt to import positions
> such as:
> 
> 85:46:05.14203W | 43:00:07.320715N
> 
> I receive the error message:
> 
> ERROR: x column is not of number type
> 
> Is there a way to have the program recognize lat./long as legitimate
> entries?

Ian:
> Dave (or anyone else),
> I was wondering if you ever found out how to import lat-long data into
> grass?  I would like to do the same thing.


As it stands only numerical data can be used for x,y columns.

It should be possible to change it to try G_scan_easting() and
G_scan_northing() if a coordinate column is of type string, but it
hasn't been done yet.

You'll have to format the data as +/- DDD.DDDDDDD for now.


Hamish




More information about the grass-user mailing list