<div dir="ltr"><div>This works for me. See that cct needs 3 coordinates. x,y,z</div><div><br></div><div>$ echo 59770.038 101069.654 0 | cct +proj=helmert +x=334491.216 +y=6950332.853 +theta=-49800<br>368362.0519 7062761.9368 0.0000 inf<br><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 21 May 2025 at 00:36, Daniel Farfán via PROJ <<a href="mailto:proj@lists.osgeo.org">proj@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've been trying to solve this problem but was unable to, so I kindly<br>
ask for help.<br>
<br>
I have 3 coordinate points in a local grid:<br>
A': 59770.038, 101069.654<br>
B': 59214.93435, 98996.58573<br>
C': 58444.7795, 99231.37298<br>
<br>
Corresponding coordinate points in EPSG:32719 CRS:<br>
A: 368362.117, 7062761.917<br>
B: 368318.78, 7060616.253<br>
C: 367514.826, 7060660.088<br>
<br>
So, I've determined that to convert from the local points to the<br>
EPSG:32719 CRS, I have to displace the x axis by 334491.216, the y<br>
axis by 6950332.853, and rotate counterclockwise by 13.8333 degrees.<br>
<br>
I have managed to get the following to work:<br>
<br>
cct +proj=helmert +x=334491.216 +y=6950332.853 +theta=-49800<br>
When I input the coordinates in the local grid, i get the<br>
corresponding coordinates in EPSG:32719<br>
<br>
What I'm struggling with is to use the conversion with cs2cs: i think<br>
I need to define the transformation as a custom CRS, to be able to do<br>
something like:<br>
cs2cs "+proj=helmert +x=334491.216 +y=6950332.853 +theta=-49800" +to EPSG:32719<br>
<br>
but that's not working.<br>
<br>
My final goal is to use the custom CRS proj string (or WKT equivalent)<br>
in GDAL and QGIS to be able to transform on the fly the local grid<br>
data to EPSG:32719.<br>
<br>
Any help would be appreciated. Thanks in advance.<br>
<br>
-- <br>
Daniel Farfán<br>
<br>
_______________________________________________<br>
PROJ mailing list<br>
<a href="mailto:PROJ@lists.osgeo.org" target="_blank">PROJ@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/proj" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/proj</a><br>
</blockquote></div>