[GRASSLIST:7589] Re: v.in.ascii
Markus Neteler
neteler at itc.it
Mon Jul 18 08:54:31 EDT 2005
Hi all,
I have added DMS LatLong support to v.in.ascii (6.1-CVS):
echo "85:46:05.14203W|43:00:07.320715N" | v.in.ascii out=test
Maximum input row length: 33
Maximum number of columns: 2
Minimum number of columns: 2
Building topology ...
1 primitives registered
Building areas: 100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids: 100%
Topology was built.
Number of nodes : 1
Number of primitives: 1
Number of points : 1
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0
v.out.ascii test
-85.76809501|43.00203353|1
Please update from CVS and test.
If it works, we can backport to GRASS 6.0-CVS.
Cheers
Markus
On Sat, Jul 16, 2005 at 08:28:06AM -0400, David Kindem wrote:
> Ian and list,
>
> I don't believe I ever did get a response to the original note. I've
> also tried importing in decimal degree format, again without any luck.
>
> Dave
>
> On Jul 15, 2005, at 4:18 PM, Ian MacMillan wrote:
>
> >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.
> >
> >-Ian
> >
> >>
> >>
> >Hello,
> >
> >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?
> >
> >Thanks,
> >
> >Dave Kindem
> >Grand Haven, MI
>
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list