[GRASS-dev] RE: [GRASS-user] Error importing DMS into standard format usingv. in.ascii

Trying again after converting DMS to deciaml degrees:

echo "L 4 1
66.5W|44.25N
66.0W|44.25N
66.0W|44.0N
66.5W|44.0N
1 1 " | v.in.ascii -n output=DMS_test format=standard --o
Error reading ascii file:
66.5W|44.25N
Building topology ...
0 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes : 0
Number of primitives: 0
Number of points : 0
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

The above command also fails if the coodinates are given to 6 decimals
places, which probably doesn't even matter.

~ Eric.

-----Original Message-----
From: Glynn Clements
To: Patton, Eric
Cc: 'grass-dev@grass.itc.it'; 'grassuser@grass.itc.it'
Sent: 9/27/2006 11:03 AM
Subject: Re: [GRASS-user] Error importing DMS into standard format
usingv.in.ascii

Patton, Eric wrote:

Following the example given in

http://article.gmane.org/gmane.comp.gis.grass.devel/8368/match=v+in+asci
i+dms

I'm trying to import D:M:S coordinates into a Lat-Long Location to

create a

line vector:

echo "L 4 1
66:30:00W|44:15:00N
66:00:00W|44:15:00N
66:00:00W|44:00:00N
66:30:00W|44:00:00N" | v.in.ascii -n output=test format=standard

Looking at the code, I see that DMS is only supported for
format=points; format=standard requires decimal values.

--
Glynn Clements <glynn@gclements.plus.com>

Hi,

I think that decimal degree go without W and N since
the minus is used for West/South.

Markus

On Wed, Sep 27, 2006 at 12:18:54PM -0300, Patton, Eric wrote:

Trying again after converting DMS to deciaml degrees:

echo "L 4 1
66.5W|44.25N
66.0W|44.25N
66.0W|44.0N
66.5W|44.0N
1 1 " | v.in.ascii -n output=DMS_test format=standard --o
Error reading ascii file:
66.5W|44.25N
Building topology ...
0 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes : 0
Number of primitives: 0
Number of points : 0
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

The above command also fails if the coodinates are given to 6 decimals
places, which probably doesn't even matter.

~ Eric.

-----Original Message-----
From: Glynn Clements
To: Patton, Eric
Cc: 'grass-dev@grass.itc.it'; 'grassuser@grass.itc.it'
Sent: 9/27/2006 11:03 AM
Subject: Re: [GRASS-user] Error importing DMS into standard format
usingv.in.ascii

Patton, Eric wrote:

> Following the example given in
>
http://article.gmane.org/gmane.comp.gis.grass.devel/8368/match=v+in+asci
i+dms
>
> I'm trying to import D:M:S coordinates into a Lat-Long Location to
create a
> line vector:
>
> echo "L 4 1
> 66:30:00W|44:15:00N
> 66:00:00W|44:15:00N
> 66:00:00W|44:00:00N
> 66:30:00W|44:00:00N" | v.in.ascii -n output=test format=standard

Looking at the code, I see that DMS is only supported for
format=points; format=standard requires decimal values.

--
Glynn Clements <glynn@gclements.plus.com>

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy