[GRASSLIST:3026] m.proj2 input file format

Help.

I am attempting to use m.proj2 to transform lat/lon data to eqdc projection (Equidistant Conic). Command line seems to work fine:

-100 45
-628278.882116 362641.875369

However with an input file…

Input file:

45 0 0.0 -100 0 0.0

Output file:

11723467.724040 7394856.374043 0.0 -100 0 0.0

Now what am I doing wrong?

Thanks.

Martin

In case there is something conceptually wrong, I have included the input/output projection parameters I am using.

Input projection parameters:

ll
Ellipsoid: GRS80

Output projection parameters:

eqdc
Ellipsoid: GRS80

Ref Lat: 42N
Std. parallel 1: 37N
Std. parallel 2: 47N
Central meridian: 92W
Units: meters

I am attempting to use m.proj2 to transform lat/lon data to eqdc
projection (Equidistant Conic). Command line seems to work fine:

>-100 45
-628278.882116 362641.875369

However with an input file...

Input file:

45 0 0.0 -100 0 0.0

Output file:

11723467.724040 7394856.374043 0.0 -100 0 0.0

Now what am I doing wrong?

[Working off the latest 5.3 version..]

The man page is out of date, and the input part of the code could use
some cleanup to accept the common lat/lon types:

DDDdMM'SSSS"
-ddd mm ssss
ddd:mm:ssssW

etc. etc. etc..
I guess checking for both the GRASS ":" way and the format cs2cs uses
should be the target.

For now, use decimal input, eastings first, in the infile & see how that
goes, e.g:

-100.0000 45.0000 any other data is just passed through
-100.5000 45.2120 any other data is just passed through

Hamish