Hello, I am trying something simple but I don’t understand the use of the flag -I for inverse transformation. I have data (fit.txt) that contains distance along the profile and depth in Km and I need to reverse the transformation to geographic coordinates, I have the initial and ending points (lat, lon) of the profile. I am trying:
As default, the “origin” of the tranformation is the lower left corner. (77.105 ; -65). With the command -C, the origin is now the “center” of your map. I assume you want the origin to be exactly at (-77.105; -36.0403).
But again, you said you have a distance along track… So you need at least the azimuth to make up the coordinates. No?
Yes, I want the origin to be (-77.105; -36.0403). I think the azimuth isn’t needed because I have the initial and ending point of the profile, but maybe I can be wrong about that. With earlier commands, I have this in the map (the blue line should be in the red line)
It seems the Forum stop sending me mails for new posts (not so bad this time that I’m quite short on it)
Basically you cannot do what you want. Your file starts with negative distances (??) that go to 0 and then increase. Without the anchor points used to compute it, and assuming it was done with project, it is impossible to recover the coordinates.
And just because I wanted the coordinates of the oceanic trench to be at (0,0) I subtracted Fx from all the coordinates, where Fx is the x coordinates of the trench projected in that same profile. Later I did an interpolation to obtain my data fit.xy
the other was the points I projected on it. Later I did the subtraction of the x coordinate of the oceanic trench and the fit of my points into my file “fit.xy”.
Now I want to return my fit.xy to the geographic coordinates.