Run m.ll2u with lat-long in decimal degrees
Wang Song
wang at cast.uark.edu
Tue May 11 15:11:12 EDT 1993
Dear GRASS netter:
To run m.ll2u program to convert lat-long into UTM coordinates,
according to the GRASS manual, the input lat-long file could be in either of
the following forms:
degrees:minutes:seconds{E|W} degrees:minutes:seconds{N|S}
degrees:minutes:seconds{E|W} degrees:minutes:seconds{N|S}
degrees:minutes:seconds{E|W} degrees:minutes:seconds{N|S}
degrees:minutes:seconds{E|W} degrees:minutes:seconds{N|S}
.
.
end
degrees.decimal{E|W} degrees.decimal{N|S}
degrees.decimal{E|W} degrees.decimal{N|S}
degrees.decimal{E|W} degrees.decimal{N|S}
degrees.decimal{E|W} degrees.decimal{N|S}
.
.
end
The first option with "degrees:minutes:seconds" is running beautifully,
but I have just found out GRASS would take a different format other than GRASS
manual suggested if you adopt the decimal degree format. The input format
recognizes the negative numbers and doesn't need either "W" or "N" at the end
of the lat-long pairs.
The following example shows an input lat-long file with the geographic
coordinates in Arkansas:
long lat
-91.417 34.250
-93.278 34.028
-92.111 35.667
-93.778 35.194
-91.833 35.028
-93.833 36.028 The input data is in decimal degree format
-93.583 34.639
-93.000 36.056
-93.194 34.889
-94.361 34.194
More information about the grass-user
mailing list