[Qgis-user] Elevation Profiles

krishna Ayyala ayyalakrishna at gmail.com
Sun Mar 6 20:15:27 PST 2022


Nicolas,
Thanks a lot for your help.
Regards.

On Sun, Mar 6, 2022 at 12:38 PM Nicolas Cadieux <njacadieux.gitlab at gmail.com>
wrote:

> Hi,
>
> This new line is a 3D Line.  This means that every vertex has x,y,z
> coordinates.  If you want to put that in a field, this is a bit complicated
> as every vertex has a z dimension.
>
> You could easily use the field calculator to extract the first node or
> last node z value or could get an average of every z value for the line.
> You could also “explode” the line. This would split the line in multiple
> parts having a maximum of 2 nodes (vertices). Then you could extract the
> first or last node z value.
>
> Hope this helps.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 6 mars 2022 à 01:07, krishna Ayyala <ayyalakrishna at gmail.com> a écri
>
> 
> Nicolas, I ran the Drape tool as shown below. It resulted in a new  line
> feature called "Draped" and added to my map. But this new feature has
> exactly same attributes as that of "Lines" feature. i.e. it does not have
> any new field such as Z added to the attribute table.
> Regards.
>
> <image.png>
>
>
> On Sat, Mar 5, 2022 at 7:07 PM Nicolas Cadieux <
> njacadieux.gitlab at gmail.com> wrote:
>
>> Hi,
>>
>> Go in processing and search for “drape”.
>>
>> Nicolas Cadieux
>> https://gitlab.com/njacadieux
>>
>> Le 5 mars 2022 à 14:48, krishna Ayyala via Qgis-user <
>> qgis-user at lists.osgeo.org> a écrit :
>>
>> 
>> Hello,
>> I have a DEM. I have a vector layer on top of the DEM. This vector layer
>> has 100 lines numbered from 1 to 100. Is there a tool that can generate
>> Elevation and grade profiles along each of these lines? Is there a way to
>> automate this instead of generating each profile individually?
>>
>> Regards.
>> _______________________________________________
>> 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220306/d8f468f8/attachment.html>


More information about the Qgis-user mailing list