Across time; "We studied the development of the children longitudinally".
In the direction of the length; "He cut the paper lengthwise".
With respect to longitude; "longitudinally measured".