geobox: Build an 'oshExListGeo' condition

Description Usage Arguments Examples

Description

The function is used to create an oshExListGeo condition that can be used by the osh_filter function. Extracts a geographic subset from an oshex object.

Usage

1
geobox(minlat, minlon, maxlat, maxlon)

Arguments

minlat

A numeric minimum latitude.

minlon

A numeric minimum longtitude.

maxlat

A numeric maximum latitude.

maxlon

A numeric maximum longtitude.

Examples

1
2
3
4
5
## Not run: 
  # Subset only object that have been editted after the from date.
  cond <- geobox(minlat = 31.2614, minlon = 34.7880, maxlat = 31.2635, maxlon = 34.8250)
  
## End(Not run)

dof1985/OSHEX documentation built on May 28, 2019, 3:36 p.m.