package org.osgeo.grass.v; import org.jgrasstools.grass.utils.ModuleSupporter; import oms3.annotations.Author; import oms3.annotations.Documentation; import oms3.annotations.Label; import oms3.annotations.Description; import oms3.annotations.Execute; import oms3.annotations.In; import oms3.annotations.UI; import oms3.annotations.Keywords; import oms3.annotations.License; import oms3.annotations.Name; import oms3.annotations.Out; import oms3.annotations.Status; @Description("Selects features from vector map (A) by features from other vector map (B).") @Author(name = "Grass Developers Community", contact = "http://grass.osgeo.org") @Keywords("vector, query") @Label("Grass/Vector Modules") @Name("v__select") @Status(Status.CERTIFIED) @License("General Public License Version >=2)") public class v__select { @UI("infile,grassfile") @Description("Name of input vector map (A)") @In public String $$ainputPARAMETER; @Description("Feature type (optional)") @In public String $$atypePARAMETER = "point,line,boundary,centroid,area"; @Description("A single vector map can be connected to multiple database tables. This number determines which table to use. (optional)") @In public String $$alayerPARAMETER = "1"; @UI("infile,grassfile") @Description("Name of input vector map (B)") @In public String $$binputPARAMETER; @Description("Feature type (optional)") @In public String $$btypePARAMETER = "point,line,boundary,centroid,area"; @Description("A single vector map can be connected to multiple database tables. This number determines which table to use. (optional)") @In public String $$blayerPARAMETER = "1"; @UI("outfile,grassfile") @Description("Name for output vector map") @In public String $$outputPARAMETER; @Description("A feature is written to output if the result of operation 'ainput operator binput' is true. An input feature is considered to be true, if category of given layer is defined. (optional)") @In public String $$operatorPARAMETER = "overlap"; @Description("Do not create attribute table") @In public boolean $$tFLAG = false; @Description("Reverse selection") @In public boolean $$rFLAG = false; @Description("Allow output files to overwrite existing files") @In public boolean $$overwriteFLAG = false; @Description("Verbose module output") @In public boolean $$verboseFLAG = false; @Description("Quiet module output") @In public boolean $$quietFLAG = false; @Execute public void process() throws Exception { ModuleSupporter.processModule(this); } }