gmtspatial: Syntax error: No input specified

"Gery ." <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Hello,



	

After using gmtspatial I found an issue (e.g. with the attached file, both columns are in km):



	gmtspatial forgmtspatial.txt -Q


	gives an answer (area of 254 km2), whereas:



	cat forgmtspatial.txt | gmtspatial -Q


	gives an error (gmtspatial: Syntax error: No input specified).



	

Is this the normal behavior? based on the optional arguments (table), it should be possible to pipe the input data as above.



	

Thanks for any hint,



	

Gery



	

PS. OS xubuntu in VB on winXP, GMT5.1 from svn.

 		 	   		  
To unsubscribe, send the message "signoff gmt-help" to [email protected]
forgmtspatial.txt (text/plain, 3.3 KB)
145.616	1.33333
142.266	1.18095
142.069	1.21905
140.099	0.933333
137.537	0.685714
136.552	0.666667
135.172	0.780952
132.808	1.18095
130.64	1.40952
129.261	1.42857
127.488	1.2381
125.911	1.21905
121.773	0.933333
119.803	1.00952
117.438	0.895238
115.862	0.971429
114.089	0.914286
112.906	0.952381
111.33	0.952381
108.768	1.14286
106.995	1.04762
105.813	1.10476
103.842	1.40952
101.478	1.40952
99.1133	1.50476
97.3399	1.48571
96.1576	1.37143
93.399	1.40952
90.6404	1.08571
89.2611	1.06667
86.6995	1.35238
84.1379	1.65714
83.5468	1.71429
81.9704	1.75238
80.7882	1.84762
79.6059	1.86667
78.4236	1.71429
77.2414	1.54286
75.468	1.12381
74.4828	1.10476
73.4975	0.971429
72.9064	0.990476
71.9212	1.50476
71.33	1.44762
69.5567	1.46667
68.7685	1.50476
67.1921	1.2
66.0099	1.12381
65.2217	0.952381
64.6305	0.914286
63.8424	1.04762
62.8571	1.1619
62.266	1.40952
61.0837	1.18095
60.2956	1.2381
59.3103	1.92381
58.5222	1.90476
57.5369	1.94286
56.7488	2.05714
55.7635	1.61905
53.7931	1.31429
52.8079	1.37143
52.0197	1.42857
50.6404	1.5619
49.8522	1.44762
48.67	1.44762
48.0788	1.48571
46.6995	1.75238
45.9113	1.79048
44.9261	1.75238
43.7438	1.80952
42.9557	1.77143
42.1675	1.77143
41.1823	1.90476
40.197	1.86667
39.4089	1.65714
37.6355	1.44762
36.6502	1.33333
36.0591	1.29524
34.8768	1.2381
34.0887	1.18095
32.3153	1.06667
30.936	1.10476
30.3448	1.14286
29.3596	1.2
28.3744	1.37143
26.798	1.44762
25.6158	1.52381
24.2365	1.80952
22.8571	1.92381
21.4778	2.01905
19.7044	2.05714
18.7192	2.11429
17.5369	2.13333
17.1429	2.24762
16.1576	2.28571
14.9754	2.19048
14.1872	2.22857
14.3842	2.28571
13.202	2.34286
12.2167	2.34286
11.4286	2.49524
10.6404	2.57143
9.26108	3.2381
8.66995	3.21905
7.68473	3.33333
6.89655	3.84762
5.71429	3.73333
4.72906	4.07619
2.56158	4.91429
1.37931	5.14286
0.197044	4.93333
0.197044	7.06667
0.985222	7.27619
1.97044	7.2381
2.95567	7.00952
4.72906	6.28571
6.10837	5.80952
7.29064	5.88571
7.88177	5.61905
8.867	5.2381
9.26108	5.27619
9.85222	5.2
10.6404	4.62857
11.4286	4.4
12.4138	4.32381
12.8079	4.20952
14.3842	4.13333
14.9754	3.98095
16.1576	4.05714
18.1281	3.80952
19.5074	3.69524
20.8867	3.58095
22.6601	3.40952
24.4335	3.2
25.4187	2.97143
26.9951	2.74286
28.9655	2.64762
30.5419	2.3619
32.1182	2.28571
33.3005	2.38095
33.8916	2.38095
35.0739	2.49524
36.0591	2.49524
37.8325	2.70476
40.197	3.12381
41.5764	3.14286
42.7586	3.02857
43.9409	3.06667
45.1232	3.02857
46.5025	3.02857
47.8818	2.87619
48.867	2.68571
50.2463	2.8
51.4286	2.7619
52.4138	2.64762
53.399	2.55238
54.7783	2.64762
55.3695	2.81905
56.5517	3.2381
57.3399	3.21905
58.5222	3.06667
59.3103	3.10476
59.9015	3.10476
60.8867	2.32381
62.069	2.51429
62.4631	2.51429
63.4483	2.22857
65.0246	2.01905
66.0099	2.19048
66.9951	2.3619
68.3744	2.59048
71.133	2.60952
72.1182	2.66667
72.7094	2.47619
73.4975	2.20952
74.4828	2.34286
75.2709	2.4
76.2562	2.72381
77.6355	3.02857
79.2118	3.27619
80.5911	3.29524
82.1675	3.25714
84.7291	3.2381
88.67	2.8381
89.6552	2.81905
90.6404	2.89524
93.202	3.33333
95.7635	3.42857
96.7488	3.5619
98.7192	3.67619
101.478	3.69524
104.236	3.82857
106.01	3.5619
107.192	3.5619
108.768	3.71429
111.527	3.58095
112.709	3.6381
113.695	3.58095
115.665	3.67619
117.438	3.6
119.212	3.67619
119.606	3.71429
121.773	3.6
125.714	3.69524
127.291	3.65714
129.261	3.67619
130.837	3.58095
133.99	2.99048
136.552	2.32381
137.734	2.26667
139.31	2.32381
141.872	2.51429
142.857	2.45714
145.616	2.4381
145.616	1.33333
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.