[Qgis-user] Dynamic Line

Thayer Young thayeray at yahoo.com
Sat Nov 14 09:25:24 PST 2020


 Hi LW,
What you have is good, just get rid of the geom_to_wkt and its parenthesis. But make sure you know where your coordinates are, because zooming to layer will not take you there, since the geometry generator of the symbol is not considered when determining the extent of the layer.
make_line( make_point (5826542.703128459, 797907.3304607988),                  make_point(5827473.536854242,796987.0074038045),                  make_point(5827167.893279332,795128.2317764781),                  make_point(5826835.7783904355,793227.8583700341))
-Thayer

----------------------------------------------------------------------

Message: 1
Date: Sat, 14 Nov 2020 14:00:41 +0100
From: "L.W." <eaglelw at gmx.de>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Dynamic Line
Message-ID: <9a4b1759-d7dd-843a-a32f-cada9abf7d3b at gmx.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Selected Geometrietype: LineString / MultLineString


Am 14.11.2020 um 13:53 schrieb L.W.:
>
> I tried a lot ...
>
> I have a point-layer, I put this code in symbol -> single symbol ->
> geometrygenerator
>
> What is wrong?
>
>
> geom_to_wkt
> (
>     make_line
>     (
>         make_point
>         (
>             5826542.703128459,
>             797907.3304607988
>         ),
>         make_point
>         (
>             5827473.536854242,
>             796987.0074038045
>         ),
>         make_point
>         (
>             5827167.893279332,
>             795128.2317764781
>         ),
>         make_point
>         (
>             5826835.7783904355,
>             793227.8583700341
>         )
>     )
> )
>

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201114/6768be27/attachment.html>


More information about the Qgis-user mailing list