Open
Description
If geod(1)
added cct(1)
's -c
option, the user could avoid elaborate
workarounds to get the input order ready for it,
$ cat Makefile
porS=120.866551 24.182822
tpc158=120.8710656 24.1873743
r= $(lastword $(1)) $(firstword $(1))
yukky:
echo $(call r, $(tpc158)) $(call r, $(porS)) | geod +ellps=WGS84 -p -f %.6f -I
better: #if we could use cct -c's option
echo $(tpc158) $(porS) | geod -c 1,2 +ellps=WGS84 -p -f %.6f -I
This is even more pertinent, as geod(1)
demands lat,lon
order, the
opposite from the default order of proj(1)
, .cs2cs(1)
, and cct(1)