0

I want to express the required distances between wind turbine. Therefore I use an ellipse for each turbine. The turbine can be a point or the ellipse can be created without the point.

What I need to know is: I have the height of the turbine in meters. Let's say 150 m. I want the ellipse to be x-times 150 m long and y-times 150 m wide. How do I do this?

Tom Brennan
  • 4,787
  • 6
  • 26
BAE_23
  • 655
  • 2
  • 8
  • Shapetools plugin has 'Ellipsis+Roses.' https://github.com/NationalSecurityAgency/qgis-shapetools-plugin#create-shapes for documentation. – Mapperz Dec 14 '23 at 20:20
  • How is your turbine data structured, and what have you tried so far? For example, there is a "make_ellipse" function in the expression editor which would likely do what you need. – Tom Brennan Dec 14 '23 at 21:07
  • 2
    Please, read these articles: https://gis.stackexchange.com/questions/423364/creating-ellipse-marker-with-line-pattern-fill-in-qgis, https://gis.stackexchange.com/questions/394753/calculating-semi-major-and-semi-minor-axis-length-of-an-ellipse-in-qgis, https://gis.stackexchange.com/questions/283205/creating-ellipse-in-qgis, and then come again with more specific issues after you have you tried something. Please, do not see it in a rude way :) – Taras Dec 14 '23 at 21:18

1 Answers1

3

You can use an expression.

I have width and height columns which I use as input to the expression:

make_ellipse( center:=$geometry, semi_major_axis:="height", semi_minor_axis:="width", azimuth:=0)

You can set fixed distances if you want to.

I use it to create a styling: enter image description here

If you need the geometries as a layer use Geometry by expression.

BERA
  • 72,339
  • 13
  • 72
  • 161