<div dir="ltr"><div dir="ltr">On Thu, Jan 9, 2025 at 4:53 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> Regarding the pipeline, it could be a bad copy-paste or garbled by <br>
> ChatGPT 😀.<br>
<br>
I wouldn't trust ChatGPT to come with geodesic-relevant pipelines... If <br>
you aren't really sure about what you are doing, you'd better let PROJ <br>
infer a reasonable pipeline.<br></blockquote><div><br></div><div>Actually it was not ChatGPT what created this pipeline. I pasted a proper pipeline to it and it helped me to generate SO question, so it may have garbled it.</div><div><br></div><div>Anyway a proper pipeline I use for years is:</div><div><br></div><div><font face="monospace">+proj=pipeline +step +inv +proj=krovak +lat_0=49.5 +lon_0=24.8333333333333 +alpha=30.2881397527778 +k=0.9999 +x_0=0 +y_0=0 +ellps=bessel +step +inv +proj=hgridshift +grids=Slovakia_JTSK03_to_JTSK.gsb +step +proj=krovak +lat_0=49.5 +lon_0=24.8333333333333 +alpha=30.2881397527778 +k=0.9999 +x_0=0 +y_0=0 +ellps=bessel +step +inv +proj=krovak +lat_0=49.5 +lon_0=24.8333333333333 +alpha=30.2881397527778 +k=0.9999 +x_0=0 +y_0=0 +ellps=bessel +step +proj=push +v_3 +step +proj=cart +ellps=bessel +step +proj=helmert +x=485.021 +y=169.465 +z=483.839 +rx=-7.786342 +ry=-4.397554 +rz=-4.102655 +s=0 +convention=coordinate_frame +step +inv +proj=cart +ellps=WGS84 +step +proj=pop +v_3 +step +proj=webmerc +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84<br></font></div><div><br></div><div>It is the official pipeline provided by our national cartography office, together with Slovakia_JTSK03_to_JTSK.gsb file. Without this pipeline the offset varies up to more than 10 meters. With the pipeline the transformed geotata matches that from state office's WMS 🙂</div><div><br></div><div>BTW ChatGPT helped me in solving this problem a lot. Without it I would maybe just gave it up as it is a hobby project.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
And more generally, people posting issues/questions written partially or <br>
totally written by generative "IA" should really mention it to set <br>
expectations to readers<br></blockquote><div><br></div><div>Thank you. I've just learned that even the pipeline was not the cause (but could be) 🙂</div><div><br></div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Martin Ždila <br><br></div></div></div></div>