I try to calculate the distances in a multi-segment file. When I use -G
it works fine. But when I use -G+ue
the distances of the second segment do NOT start at 0 (it is accumulative from the first segment). Is this a bug?
gmt mapproject line -fg -G
-76 -32 0
-75 -32 94416.7186156
>
-76 -35 0
-75 -35 91219.1880961
gmt mapproject line -fg -G+ue
-76 -32 0
-75 -32 94416.7186156
>
-76 -35 94416.7186156
-75 -35 185635.906712
Full script:
cat > line <<- END
-76 -32
-75 -32
>
-76 -35
-75 -35
END
gmt mapproject line -fg -G
gmt mapproject line -fg -G+ue