I need to color each polygon based on its area and length. I can loop through all polygons, find out their area .geometry().area() and if it is larger than 100 meters squared, than I want it to be green, otherwise red. Is it possible? I found solution for one attribute. (How to set the color of a feature depending on attributes with PyQGIS?)
أكثر...
أكثر...