<div dir="ltr" gmail_original="1">There is specific code for QGIS to handle transformation between EPSG:3857 and EPSG:4326 due to EPSG:3857 not being valid at poles. See the comments at<div><div><a href="https://mailtrack.io/l/3b9f0f5d1696eca585d974232660d3c67b88aeef?w=cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw&url=https%3A%2F%2Fgithub.com%2Fqgis%2FQGIS%2Fblob%2Fmaster%2Fsrc%2Fcore%2Fproj%2Fqgscoordinatetransform.cpp%23L585&u=8747767&signature=160430bc5e3e39b2" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/src/core/proj/<wbr>qgscoordinatetransform.cpp#<wbr>L585</a></div><div><br></div><div>You should not be using EPSG:3857 for datasets that span more than +/-85 degrees latitude. If you want to display global datasets in a projected CRS, try Equal Earth (EPSG:8857). </div><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr">---<div>Ujaval Gandhi</div><div>Spatial Thoughts</div><div><a href="https://mailtrack.io/l/23351823d4981a6feab4bb8e2f53958dd02b7b6f?w=cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw&url=http%3A%2F%2Fwww.spatialthoughts.com&u=8747767&signature=f6b62978c9915c25" target="_blank">www.spatialthoughts.com</a></div><div><br></div></div></div></div><br></div></div><br><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/w/cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw/e08db10574e3532e752e524125502dbdb082fbf6.png?u=8747767" ><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 28, 2024 at 6:32 PM Régis Haubourg via QGIS-User <qgis-user@lists.osgeo.org> 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;"><u></u>

  
    
  
  <div>
    <p>Hi , <br>
    </p>
    <p>the render in QGIS is always done on the fly, there is no caching
      of prerendered data, except for online webservices. </p>
    <p>PROJ is indeed the library doing the job. </p>
    <p>Régis <br>
    </p>
    <div>On 27/02/2024 14:00, Ionut Ungurianu
      via QGIS-User wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Hi!

I’m looking to understand  in a more advanced way how QGIS handles on-the-fly projection.
In my case I set the project crs in epsg:3857 and I have a raster layer in epsg:4326. In this case what is happening with the layer?

I know that it’s based on PROJ, but I’m wondering what is actually happening in the back-end, what is happening in the map canvas, how is the layer render, is being resampled every time you pan the map or do zoom in/out ...

So, if someone can help with a detailed explanation, I would really appreciate it.

Thanks in advance!

All the best!
Ionut
______________________________<wbr>_________________
QGIS-User mailing list
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <div id="m_-8420534707657304993grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div>
  </div>

______________________________<wbr>_________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
</blockquote></div>