Thanks for clarifying!
I opened an issue:
https://github.com/qgis/QGIS/issues/58229
 
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.
Draping on point clouds is currently also not possible in QGIS (only on raster) - I have a different software for that.
 
Regards,
Roland
 
Gesendet: Mittwoch, 24. Juli 2024 um 00:56 Uhr
Von: "Nyall Dawson" <nyall.daw...@gmail.com>
An: "Roland Spielhofer" <rsp...@gmx.net>
Cc: "QGIS User" <qgis-user@lists.osgeo.org>
Betreff: Re: [Qgis-user] Auto-adjust profile elevation range in Atlas
On Tue, 23 Jul 2024 at 20:29, Roland Spielhofer via QGIS-User
<qgis-user@lists.osgeo.org> wrote:
>
> Hi,
> I have a corridor point cloud and a number of cross profiles (linestrings) in my QGIS project.
> I would like to make an Atlas that shows a cross section of the pointcloud along every profile.
> So far, so good.
> 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.
>
> 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.

There's no direct option for "auto scale" as of QGIS 3.38. There's
definitely potential here for implementing that in a future QGIS
version!

One potential solution you could use in current releases would be to
take advantage of the data-defined control over the minimum/maximum
elevation in the layout item, so that each page in the atlas can have
a different elevation range. You could either set this to a field and
prepopulate each feature with manually entered min/max elevation
values, or potentially use some fancy QGIS _expression_ magic to
dynamically pick a range based on other existing atlas feature
fields/geometry...!

Nyall


>
> Regards,
> Roland
> _______________________________________________
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to