<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Thanks for clarifying!</div>
<div>I opened an issue:</div>
<div>https://github.com/qgis/QGIS/issues/58229</div>
<div> </div>
<div>Meanwhile I will try to drape the profiles (atlas features) on the surface and calculate the range by expression - the profiles cross a road, so I expect the results to be usable, but there will be an arbitrary cut in the z-range. Some profiles will look good, some not, e.g. when a tree is next to the road.</div>
<div>Draping on point clouds is currently also not possible in QGIS (only on raster) - I have a different software for that.</div>
<div>
<div>
<div>Regards,</div>
<div>Roland</div>
<div> </div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 24. Juli 2024 um 00:56 Uhr<br/>
<b>Von:</b> "Nyall Dawson" <nyall.dawson@gmail.com><br/>
<b>An:</b> "Roland Spielhofer" <rspiel@gmx.net><br/>
<b>Cc:</b> "QGIS User" <qgis-user@lists.osgeo.org><br/>
<b>Betreff:</b> Re: [Qgis-user] Auto-adjust profile elevation range in Atlas</div>
<div name="quoted-content">On Tue, 23 Jul 2024 at 20:29, Roland Spielhofer via QGIS-User<br/>
<qgis-user@lists.osgeo.org> wrote:<br/>
><br/>
> Hi,<br/>
> I have a corridor point cloud and a number of cross profiles (linestrings) in my QGIS project.<br/>
> I would like to make an Atlas that shows a cross section of the pointcloud along every profile.<br/>
> So far, so good.<br/>
> What I am struggling with is that the elevation range seems to be fixed in all atlas elements so that I see the point cloud on some atlas items where the elevation range matches the point cloud while some items are blank as the point cloud is too high/too low for the elevation range of the elevation profile item.<br/>
><br/>
> Is there a way to auto-adjust the z-range per atlas item so that the full z-range of the profile is always shown? The elevation profile panel in the main window does exactly this as default behaviour.<br/>
<br/>
There's no direct option for "auto scale" as of QGIS 3.38. There's<br/>
definitely potential here for implementing that in a future QGIS<br/>
version!<br/>
<br/>
One potential solution you could use in current releases would be to<br/>
take advantage of the data-defined control over the minimum/maximum<br/>
elevation in the layout item, so that each page in the atlas can have<br/>
a different elevation range. You could either set this to a field and<br/>
prepopulate each feature with manually entered min/max elevation<br/>
values, or potentially use some fancy QGIS expression magic to<br/>
dynamically pick a range based on other existing atlas feature<br/>
fields/geometry...!<br/>
<br/>
Nyall<br/>
<br/>
<br/>
><br/>
> Regards,<br/>
> Roland<br/>
> _______________________________________________<br/>
> QGIS-User mailing list<br/>
> QGIS-User@lists.osgeo.org<br/>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br/>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</div>
</div>
</div></div></body></html>