Skip to main content
Tiny adjustments
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

Let's assume there is a polyline layer "line", see image below.

input

TryProceed with RMT > Symbology > Single Symbol > Line > Geometry Generator

Use the following code make_polygon($geometry) in the "Geometry Generator"-field and change the Geometry Type into 'Polygon/MultiPolygon'.

result1

Additionally try convex_hull($geometry) that will produce a Convex hull.

result2

Note: Mind the forms/shape/guise of your lines.

P.S.: I can suggest inspecting the geometry menu in the 'Expression Dialog', see image below

geoemtry_tab

Let's assume there is a polyline layer "line", see image below.

input

Try make_polygon($geometry)

result1

Additionally try convex_hull($geometry)

result2

Note: Mind the forms of your lines

P.S.: I can suggest inspecting the geometry menu in the 'Expression Dialog', see image below

geoemtry_tab

Let's assume there is a polyline layer "line", see image below.

input

Proceed with RMT > Symbology > Single Symbol > Line > Geometry Generator

Use the following code make_polygon($geometry) in the "Geometry Generator"-field and change the Geometry Type into 'Polygon/MultiPolygon'.

result1

Additionally try convex_hull($geometry) that will produce a Convex hull.

result2

Note: Mind the forms/shape/guise of your lines.

P.S.: I can suggest inspecting the geometry menu in the 'Expression Dialog', see image below

geoemtry_tab

Tiny adjustments
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

Let's assume there is a polyline layer "line", see image below.

input

Try make_polygon($geometry)

result1

Additionally try convex_hull($geometry)

result2

Note: Mind the forms of your lines

P.S.: I can suggest inspecting the geometry menu in the 'Expression Dialog', see image below

geoemtry_tab

input

Try make_polygon($geometry)

result1

Additionally try convex_hull($geometry)

result2

Note: Mind the forms of your lines

Let's assume there is a polyline layer "line", see image below.

input

Try make_polygon($geometry)

result1

Additionally try convex_hull($geometry)

result2

Note: Mind the forms of your lines

P.S.: I can suggest inspecting the geometry menu in the 'Expression Dialog', see image below

geoemtry_tab

Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

input

Try make_polygon($geometry)

result1

Additionally try convex_hull($geometry)

result2

Note: Mind the forms of your lines