GMT Project projecting all data points to cross-section

Hard to know without seeing the input file and the result. However, I suspect that you should use -Q.