1

I am using QGIS 3.0.

I want to use different angle arc SVG markers depending on the data in the attribute table. For example, some points require a 60-degree marker, other a 35-degree marker etc. to give an idea of a field of view from a given point.

Just to clarify, I have 3 different fields of view, depending on the angle view of the photograph. So I want to assign a different angle arc marker depending on the angle specified in the attribute table. View_angle 62, 30, 20.

For each I want an arc marker to match the angle.

  • 2
    How many classes of markers will you need? Do you have a svg-file for each? – Erik Sep 17 '18 at 7:17
  • 2
    Do you mean different angle for values within one attribute, or between more attributes (fields)? – Oto Kaláb Sep 17 '18 at 7:18
  • 1
    Welcome to GIS SE! As a new user be sure to take the Tour to learn about our focussed Q&A format. – PolyGeo Sep 17 '18 at 9:06
1

When you open

Layer Properties > Symbology > Rule-based

you will be able to apply custom styles to each of your's SVG markers through Rule-based symbology.

In Edit Rule mode, please chose a small icon (Data Defined Override) just on the right side of the Rotation parameter. See the example below.

How_To

With that, you will get a possibility to define the rotation angle for each feature based on the field value from your attribute table.

References

  • as far as I understood it, the width/arc of the marker is to be set differently, not (only) its orientation. – Erik Sep 17 '18 at 7:44
  • I think then you can simply modify the Size, Offset X,Y, or Anchor point parameters, do not you think so @Erik? Otherwise, create a unique SVG file for each unique feature. – Taras Sep 17 '18 at 8:14
  • I thought about using geometry markers, which should be adaptable to unique features of each point. – Erik Sep 17 '18 at 8:33
  • @Erik it makes sense to utilize the geometry generator! – Taras Sep 17 '18 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.