Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to define a custom marker as symbolizer for a point in QGIS?

I'm looking into using a variation on the "Vector Field Marker" with a couple of arrows pointing at dynamic angles (the angles being read as point attributes).

I imagine it's doable in C++ (within the QGIS code) but I'm looking for a scripting solution (python).

I'm adding a representation of what I'm trying to achieve - for two points A and B with attributes x,y,z.

custom markers

share|improve this question
up vote 3 down vote accepted

Vector Field renderer is written in Python, so you could use it as a starting point for your own renderer.

Maybe it's not even necessary. What exactly are you trying to achieve? Rotating arrows can already be done with the default installation. Check the "advanced" - "rotation field" option.

share|improve this answer
I think you can write renders in Python. There is one you can download from the Python repo that adds a new renderer. – Nathan W Mar 21 '12 at 14:21
Thanks for the answer - I've added a picture to make things more clear. I suppose I could create 3 separate layers using the rotation field stuff (one layer per arrow) but I don't think it's a good idea. – diciu Mar 21 '12 at 14:22
You're right @NathanW. I thought they were all written in Python. I'll update the answer – underdark Mar 21 '12 at 14:49
Thanks both for the input - I've found what I was looking for here:… – diciu Mar 21 '12 at 15:02
this would work too – Nathan W Mar 21 '12 at 21:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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