0

I am using QGIS and QtCreator and I have two questions:

  1. How to draw customized/complicated shapes with QGIS?

  2. How can I calculate the pixel values (to draw my own shapes) since I always have the real world distance.

As I know QGIS vector layers comes only with points/lines/poly and I would like to draw my own complicated symbols.

What I have done so far is creating my own object that inherits QgsMapCanvasItem and I draw the symbol in the painter method the painter get triggered each time the scale is changed.

I am not sure if I am repeating something already been done is QGIS please advice the best way to do it.

Your Answer

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

Browse other questions tagged or ask your own question.