I am using QGIS 2.8.6 and I have a shapefile with polygons. I want to remove all the polygons which have both minimum length and minimum width less than 500m. I need to do it within a Python script. Does anyone have an idea about how to accomplish this? Can you also explain to me how to do it with the available functionalities of QGIS?
When I tried to use Polygons from layer extent, I could find the height and width of the bounding boxes greater than or equal to 500m however these bounding boxes represent maximum length and width so I can still have polygons inside which do not satisfy my requirement.