[Qgis-user] Auto-adjust profile elevation range in Atlas

Stefan Giese (WhereGroup) stefan.giese at wheregroup.com
Tue Jul 23 23:46:47 PDT 2024


you can use the processingtool pdal:exportrastertin to generate a raster 
which can be used to drape your profile lines

best regards

Stefan

Am 24.07.2024 um 08:29 schrieb Roland Spielhofer via QGIS-User:
> 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.dawson at gmail.com>
> *An:* "Roland Spielhofer" <rspiel at gmx.net>
> *Cc:* "QGIS User" <qgis-user at 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 at 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 at 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 at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
***********************************************************
FOSS Academy Sommerschule: Kompaktkurs zum Aufbau einer GDI
02.-06. September 2024, Präsenzveranstaltung in Bonn
https://www.foss-academy.com/kompaktkurse
***********************************************************
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.giese at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240724/aff28eeb/attachment.htm>


More information about the QGIS-User mailing list