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

I have some vector layers in my project and I need to separate the polygones by area (I need a copy of all shapes > 2ha). I know how to do this for each separate layer (query) but is the a tool to do this for all my layers in one step?

share|improve this question

You can use the "Execute as Batch Process" function the Sextante Toolbox provides.

It's easiest if you first define a new Model based on the MMQGIS Select tool using the Sextante Modeler to fill in the parameters:

After saving the model, you can right-click on it in the Sextante Toolbox and select "Execute as batch process". In the window that opens, click on the ... button in the Input column of the first row, and select all your vector files using Ctrl or Shift (you choose from the file system, not the Layers list). In the first row of the Output column, enter a file name for the output. After you've chosen the first file name, a window will pop up asking you if you want to auto-fill the other Output names. Choose "Fill with parameter values" to base the output file names on the input file names. After closing the pop-up, you just have to press OK to run the batch process. The selected features will be written to the specified output files.

share|improve this answer

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.