Questions about gmtselect in cartesian coordinate

Hi, I used to extracting data from multi-lines in the geographic coordinate system using gmt select option and it succeeded, but I encountered a problem in the cartesian coordinate system now. I simplified the scripts as follows (gmt version: 6.2.0rc2):

echo 120 30 | gmt select -Lline+d50 -V

where the file line contains:

> 
100 50
150 50

and the output is:

gmtselect [INFORMATION]: Processing input table data
gmtselect [INFORMATION]: Reading Data Table from File line1
gmtselect [INFORMATION]: Reading Data Table from Standard Input stream
gmtselect [INFORMATION]: Writing Data Table to Standard Output stream
gmtselect [INFORMATION]: Read 1 records, passed 0 records

when I changed the distance to a extremely larger one: +d5000, the output turned to

gmtselect [INFORMATION]: Processing input table data
gmtselect [INFORMATION]: Reading Data Table from File line1
gmtselect [INFORMATION]: Reading Data Table from Standard Input stream
gmtselect [INFORMATION]: Writing Data Table to Standard Output stream
120     30
gmtselect [INFORMATION]: Read 1 records, passed 1 records 

It seems to be a problem with the distance unit, and I searched for the module document and still don’t know how to modify it.

Thank you in advance.

1 Like