db.polygon {RGeoS} | R Documentation |
Use a Polygon to build a selection for the Data Base
db.polygon(db, polygon, flag.out=FALSE, combine="set", must.noproj=FALSE)
db |
The |
polygon |
The |
flag.out |
When FALSE, the procedure selects the samples located within the polygon. When TRUE, the procedure selects the samples located outside the polygon. |
combine |
When a selection already exists, the 'combine' keyword indicates how the current selection must be combined with the previous one. |
must.noproj |
When TRUE, the projection (if defined and active) must not be applied on the input Db |
The db-class
structure will contain the new selection