[GRASSLIST:3027] Re: m.proj2 input file format
Hamish
hamish_nospam at yahoo.com
Wed Mar 24 20:44:42 EST 2004
> 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
More information about the grass-user
mailing list