db.polygon {RGeoS}R Documentation

Polygonal Data Base selection

Description

Use a Polygon to build a selection for the Data Base

Usage

db.polygon(db, polygon, flag.out=FALSE, combine="set", 
must.noproj=FALSE)

Arguments

db

The db-class where the new selection must be established

polygon

The polygon-class which must be used to test if a sample is selected as it lies within the polygon or not

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

Value

The db-class structure will contain the new selection


[Package RGeoS version 9.1.1 Index]