Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.